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 BSONDecoder
public BSONObject readObject(InputStream pIn) throws IOException
readObject
in interface BSONDecoder
IOException
public int decode(byte[] pData, BSONCallback pCallback)
decode
in interface BSONDecoder
public int decode(InputStream pIn, BSONCallback pCallback) throws IOException
decode
in interface BSONDecoder
IOException