Uint8Array containing the data to write to the file.
Optionaloffset: number | nullOffset in the buffer to start reading data from.
Optionallength: number | nullThe amount of bytes to write to the file.
Optionalposition: number | nullOffset 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 | nullOffset 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.