Class OutputBufferOutputStream

java.lang.Object
java.io.OutputStream
org.mongojack.internal.stream.OutputBufferOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class OutputBufferOutputStream extends OutputStream
OutputStream that writes to a MongoDB OutputBuffer
  • Constructor Details

    • OutputBufferOutputStream

      public OutputBufferOutputStream(org.bson.io.OutputBuffer outputBuffer)
  • Method Details

    • write

      public void write(int b) throws tools.jackson.core.JacksonException
      Specified by:
      write in class OutputStream
      Throws:
      tools.jackson.core.JacksonException
    • write

      public void write(byte[] b, int off, int len) throws tools.jackson.core.JacksonException
      Overrides:
      write in class OutputStream
      Throws:
      tools.jackson.core.JacksonException
    • getCount

      public int getCount()