Readonly
fdInternal
fsReadonly
pathGet the current file position.
Protected
_throwRead data from the file.
The buffer that the data will be written to.
Optional
offset: numberThe offset within the buffer where writing will start.
Optional
length: numberAn integer specifying the number of bytes to read.
Optional
position: numberAn integer specifying where to begin reading from in the file. If position is null, data will be read from the current file position.
Promise resolving to the new length of the buffer
Write buffer to the file.
Uint8Array containing the data to write to the file.
Optional
offset: numberOffset in the buffer to start reading data from.
Optional
length: numberThe amount of bytes to write to the file.
Optional
position: numberOffset from the beginning of the file where this data should be written. If position is null, the data will be written at the current position.
Promise resolving to the new length of the buffer
The file system that created the file