Creates a new output stream from the specified file descriptor fd
.
File descriptor to write to.
Optional
options: UnixStreamOptionsOptions to customize the stream.
Tries to write data
to the stream. Returns how many bytes of data
were written to the stream.
Keeps writing to the stream until all of data
has been written. Premature error or end of stream results in an
Error
object with a partialSize
property specifying how many bytes of data
were written to the stream
before the error occurred.
Tries to write size
bytes to the stream, reading them from address
. Returns how many bytes were written
to the stream. Premature error or end of stream results in an Error
object with a partialSize
property
specifying how many bytes of data
were written to the stream before the error occurred.
Generated using TypeDoc
Output stream backed by a file descriptor.
Only available on UNIX-like OSes.