Uint8Array containing the data to write to the file.
Optionaloffset: number | null
Offset in the buffer to start reading data from.
Optionallength: number | null
The amount of bytes to write to the file.
Optionalposition: number | null
Offset 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.
Write buffer to the file specified by fd.
Uint8Array containing the data to write to the file.
Optionalposition: number | null
Offset 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.
Optionalencoding: BufferEncoding | null
Write buffer to the file specified by
fd.