Optional offset: numberOptional length: numberOptional position: numberThe number of bytes written.
v0.1.21
Synchronously writes string to the file referenced by the supplied file descriptor, returning the number of bytes written.
A file descriptor.
A string to write.
Optional position: numberThe offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
Optional encoding: BufferEncodingThe expected string encoding.
Generated using TypeDoc
For detailed information, see the documentation of the asynchronous version of this API: write.