Closes the output stream
a Observable with a single element indicating when the AsyncOutputStream has been closed
Writes a sequence of bytes from the given buffer into this stream.
the source buffer containing the data to be written.
a Observable returning a single element containing the number of bytes written.