Interface FileSystemWritableFileStream
interface FileSystemWritableFileStream {
locked: boolean;
abort(reason?: any): Promise<void>;
close(): Promise<void>;
getWriter(): WritableStreamDefaultWriter;
seek(position: number): Promise<void>;
truncate(size: number): Promise<void>;
write(data: FileSystemWriteChunkType): Promise<void>;
}
locked: boolean;
abort(reason?: any): Promise<void>;
close(): Promise<void>;
getWriter(): WritableStreamDefaultWriter;
seek(position: number): Promise<void>;
truncate(size: number): Promise<void>;
write(data: FileSystemWriteChunkType): Promise<void>;
}
Hierarchy
- WritableStream
- FileSystemWritableFileStream (View Summary)
Methods
abort
close
getWriter
- getWriter(): WritableStreamDefaultWriter
Returns WritableStreamDefaultWriter
seek
truncate
write
- write(data: FileSystemWriteChunkType): Promise<void>
Parameters
- data: FileSystemWriteChunkType
Returns Promise<void>
Available only in secure contexts.
MDN Reference