The file path.
Closes the file.
See fdatasync(2)
Reads data into the given buffer at the given file offset. Returns the amount of read data or null for EOF.
Buffer to read data into.
Optional
Offset in the file to read from.
Get the file status information. See stat(2)
See fsync(2)
Truncates the file to the given length.
Length to truncate the file to.
Writes data from the given buffer at the given file offset. Returns the amount of data written.
Buffer to write.
Offset in the file to write to.
Generated using TypeDoc
The file path.