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 BSONDecoderpublic BSONObject readObject(java.io.InputStream pIn) throws java.io.IOException
readObject in interface BSONDecoderjava.io.IOExceptionpublic int decode(byte[] pData,
BSONCallback pCallback)
decode in interface BSONDecoderpublic int decode(java.io.InputStream pIn,
BSONCallback pCallback)
throws java.io.IOException
decode in interface BSONDecoderjava.io.IOException