FileSystemWritableFileStream
The FileSystemWritableFileStream
interface of the File System API is a WritableStream object with additional convenience methods, which operates on a single file on disk. Available only in secure contexts.
Functions
The seek()
method of the FileSystemWritableFileStream interface updates the current file cursor offset to the position (in bytes) specified when calling the method.
The truncate()
method of the FileSystemWritableFileStream interface resizes the file associated with the stream to the specified size in bytes.
The truncate()
method of the FileSystemWritableFileStream interface resizes the file associated with the stream to the specified size in bytes.
The write()
method of the FileSystemWritableFileStream interface writes content into the file the method is called on, at the current file cursor offset.
The write()
method of the FileSystemWritableFileStream interface writes content into the file the method is called on, at the current file cursor offset.