public class LazyBSONDecoder extends java.lang.Object implements BSONDecoder
| Constructor and Description |
|---|
LazyBSONDecoder() |
| Modifier and Type | Method and Description |
|---|---|
int |
decode(byte[] b,
BSONCallback callback) |
int |
decode(java.io.InputStream in,
BSONCallback callback) |
BSONObject |
readObject(byte[] b) |
BSONObject |
readObject(java.io.InputStream in) |
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.IOException