Packages

c

org.mongodb.scala.gridfs

JavaAsyncOutputStreamToScala

implicit class JavaAsyncOutputStreamToScala extends AsyncOutputStream

Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JavaAsyncOutputStreamToScala
  2. AsyncOutputStream
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new JavaAsyncOutputStreamToScala(wrapped: com.mongodb.async.client.gridfs.AsyncOutputStream)

Value Members

  1. def close(): Observable[Completed]

    Closes the output stream

    Closes the output stream

    returns

    a Observable with a single element indicating when the AsyncOutputStream has been closed

    Definition Classes
    JavaAsyncOutputStreamToScalaAsyncOutputStream
  2. def write(src: ByteBuffer): Observable[Int]

    Writes a sequence of bytes from the given buffer into this stream.

    Writes a sequence of bytes from the given buffer into this stream.

    src

    the source buffer containing the data to be written.

    returns

    a Observable returning a single element containing the number of bytes written.

    Definition Classes
    JavaAsyncOutputStreamToScalaAsyncOutputStream