public class NewBSONDecoder extends Object implements BSONDecoder
| Constructor and Description |
|---|
NewBSONDecoder() |
| Modifier and Type | Method and Description |
|---|---|
int |
decode(byte[] pData,
BSONCallback pCallback) |
int |
decode(InputStream pIn,
BSONCallback pCallback) |
BSONObject |
readObject(byte[] pData) |
BSONObject |
readObject(InputStream pIn) |
public BSONObject readObject(byte[] pData)
readObject in interface BSONDecoderpublic BSONObject readObject(InputStream pIn) throws IOException
readObject in interface BSONDecoderIOExceptionpublic int decode(byte[] pData,
BSONCallback pCallback)
decode in interface BSONDecoderpublic int decode(InputStream pIn, BSONCallback pCallback) throws IOException
decode in interface BSONDecoderIOException