Methods
offset
- offset(): number
-
Returns number
seekTo
- seekTo(offset: number): void
-
Returns void
seekToEnd
- seekToEnd(): void
-
Returns void
read
- read(length: number): Uint8Array
-
Returns Uint8Array
readToEnd
- readToEnd(): Uint8Array
-
Returns Uint8Array
write
- write(data: string | number[] | Uint8Array): void
-
Parameters
-
data: string | number[] | Uint8Array
Returns void
close
- close(): void
-
Returns void
A file handle returned by file.handle(). Can be used to read and write files in binary mode.