public class LazyBSONDecoder extends Object implements BSONDecoder
Constructor and Description |
---|
LazyBSONDecoder() |
Modifier and Type | Method and Description |
---|---|
int |
decode(byte[] b,
BSONCallback callback) |
int |
decode(InputStream in,
BSONCallback callback) |
BSONObject |
readObject(byte[] b) |
BSONObject |
readObject(InputStream in) |
public BSONObject readObject(byte[] b)
readObject
in interface BSONDecoder
public BSONObject readObject(InputStream in) throws IOException
readObject
in interface BSONDecoder
IOException
public int decode(byte[] b, BSONCallback callback)
decode
in interface BSONDecoder
public int decode(InputStream in, BSONCallback callback) throws IOException
decode
in interface BSONDecoder
IOException