public class BasicBSONDecoder extends java.lang.Object implements BSONDecoder
Modifier and Type | Class and Description |
---|---|
protected class |
BasicBSONDecoder.BSONInput |
Modifier and Type | Field and Description |
---|---|
protected BSONCallback |
_callback |
protected BasicBSONDecoder.BSONInput |
_in |
protected int |
_len |
protected int |
_pos |
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.BSONInput _in
protected BSONCallback _callback
protected int _pos
protected int _len
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