Class OutputBufferOutputStream
java.lang.Object
java.io.OutputStream
org.mongojack.internal.stream.OutputBufferOutputStream
- All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
OutputStream that writes to a MongoDB OutputBuffer
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class OutputStream
close, flush, nullOutputStream, write
-
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:
writein classOutputStream- Throws:
tools.jackson.core.JacksonException
-
write
public void write(byte[] b, int off, int len) throws tools.jackson.core.JacksonException - Overrides:
writein classOutputStream- Throws:
tools.jackson.core.JacksonException
-
getCount
public int getCount()
-