org.bson
Class NewBSONDecoder
java.lang.Object
org.bson.NewBSONDecoder
- All Implemented Interfaces:
- BSONDecoder
public class NewBSONDecoder
- extends Object
- implements BSONDecoder
A new implementation of the bson decoder.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NewBSONDecoder
public NewBSONDecoder()
readObject
public BSONObject readObject(byte[] pData)
- Specified by:
readObject
in interface BSONDecoder
readObject
public BSONObject readObject(InputStream pIn)
throws IOException
- Specified by:
readObject
in interface BSONDecoder
- Throws:
IOException
decode
public int decode(byte[] pData,
BSONCallback pCallback)
- Specified by:
decode
in interface BSONDecoder
decode
public int decode(InputStream pIn,
BSONCallback pCallback)
throws IOException
- Specified by:
decode
in interface BSONDecoder
- Throws:
IOException