public class BasicBSONDecoder extends java.lang.Object implements BSONDecoder
Modifier and Type | Class and Description |
---|---|
protected class |
BasicBSONDecoder.Input |
Modifier and Type | Field and Description |
---|---|
protected BSONCallback |
_callback |
protected BasicBSONDecoder.Input |
_in |
Constructor and Description |
---|
BasicBSONDecoder() |
Modifier and Type | Method and Description |
---|---|
protected void |
_binary(java.lang.String name) |
int |
decode(byte[] b,
BSONCallback callback) |
int |
decode(java.io.InputStream in,
BSONCallback callback) |
BSONObject |
readObject(byte[] b) |
BSONObject |
readObject(java.io.InputStream in) |
protected BasicBSONDecoder.Input _in
protected BSONCallback _callback
public BSONObject readObject(byte[] b)
readObject
in interface BSONDecoder
public BSONObject readObject(java.io.InputStream in) throws java.io.IOException
readObject
in interface BSONDecoder
java.io.IOException
public int decode(byte[] b, BSONCallback callback)
decode
in interface BSONDecoder
public int decode(java.io.InputStream in, BSONCallback callback) throws java.io.IOException
decode
in interface BSONDecoder
java.io.IOException
protected void _binary(java.lang.String name) throws java.io.IOException
java.io.IOException