seek

inline suspend fun FileSystemWritableFileStream.seek(position: UInt53)(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