Optional
offset: null | numberOptional
length: null | numberOptional
position: null | 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: null | numberThe offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
Optional
encoding: null | BufferEncodingThe expected string encoding.
Generated using TypeDoc
For detailed information, see the documentation of the asynchronous version of this API: write.