Close the write handle, freeing any resources it was using.
Returns a write handle for the specified file which may be used to append data to the file it represents, creating it if necessary.
Returns a write handle for the specified file which may be used to append data to the file it represents, creating it if necessary.
Care must be taken to close
the handle when it is no longer needed
to avoid potential resource leaks.
Write a chunk of data to the file represented by the write handle.
Write a chunk of data to the file represented by the write handle.
Attempts to write as much of the chunk as possible, even if parts of
it fail, any such failures will be returned in the output Vector
An empty Vector
means the entire chunk was written successfully.
Low-level, unsafe operations. Clients are responsible for resource-safety when using these.