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 BSONDecoderpublic BSONObject readObject(java.io.InputStream in) throws java.io.IOException
readObject in interface BSONDecoderjava.io.IOExceptionpublic int decode(byte[] b,
BSONCallback callback)
decode in interface BSONDecoderpublic int decode(java.io.InputStream in,
BSONCallback callback)
throws java.io.IOException
decode in interface BSONDecoderjava.io.IOExceptionprotected void _binary(java.lang.String name)
throws java.io.IOException
java.io.IOException