org.bson
Class BSONDecoder
java.lang.Object
org.bson.BSONDecoder
public class BSONDecoder
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_in
protected BSONDecoder.Input _in
_callback
protected BSONCallback _callback
BSONDecoder
public BSONDecoder()
readObject
public BSONObject readObject(byte[] b)
readObject
public BSONObject readObject(InputStream in)
throws IOException
- Throws:
IOException
decode
public int decode(byte[] b,
BSONCallback callback)
decode
public int decode(InputStream in,
BSONCallback callback)
throws IOException
- Throws:
IOException
_binary
protected void _binary(String name)
throws IOException
- Throws:
IOException