seekAsync

fun seekAsync(position: UInt53): Promise<Void?>(source)

The seek() method of the FileSystemWritableFileStream interface updates the current file cursor offset to the position (in bytes) specified when calling the method.

MDN Reference