Abstract
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
Closes the stream, releasing resources related to it. Once the stream is closed, all other operations will fail. Closing a stream multiple times is allowed and will not result in an error.