seek method

JSPromise<JSAny?> seek(
  1. int position
)

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

Implementation

external JSPromise<JSAny?> seek(int position);