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