public interface AsyncOutputStream
See the com.mongodb.async.client.gridfs.helpers
package for adapters that create an AsyncOutputStream
Modifier and Type | Method and Description |
---|---|
rx.Observable<Success> |
close()
Closes the output stream
|
rx.Observable<Integer> |
write(ByteBuffer src)
Writes a sequence of bytes from the given buffer into this stream.
|
rx.Observable<Integer> write(ByteBuffer src)
src
- the source buffer containing the data to be written.rx.Observable<Success> close()