Converts a InputStream into a AsyncInputStream
Converts a InputStream into a AsyncInputStream
the InputStream
the AsyncInputStream
Converts a ByteBuffer into a AsyncInputStream
Converts a ByteBuffer into a AsyncInputStream
the data source
the AsyncInputStream
Converts a Array[Byte] into a AsyncInputStream
Converts a Array[Byte] into a AsyncInputStream
the data source
the AsyncInputStream
Converts a OutputStream into a AsyncOutputStream
Converts a OutputStream into a AsyncOutputStream
the OutputStream
the AsyncOutputStream
Converts a ByteBuffer into a AsyncOutputStream
Converts a ByteBuffer into a AsyncOutputStream
the data destination
the AsyncOutputStream
Converts a Array[Byte] into a AsyncOutputStream
Converts a Array[Byte] into a AsyncOutputStream
the data destination
the AsyncOutputStream
A general helper class that creates org.mongodb.scala.gridfs.AsyncInputStream or org.mongodb.scala.gridfs.AsyncOutputStream instances.
Provides support for:
-
Array[Byte]- Converts byte arrays into Async Streams -ByteBuffer- Converts ByteBuffers into Async Streams -InputStream- Converts InputStreams into Async Streams (Note: InputStream implementations are blocking) -OutputStream- Converts OutputStreams into Async Streams (Note: OutputStream implementations are blocking)1.2