org.bson
Class BSONDecoder

java.lang.Object
  extended by org.bson.BSONDecoder

public class BSONDecoder
extends Object


Constructor Summary
BSONDecoder()
           
 
Method Summary
 int decode(org.bson.BSONDecoder.Input in, BSONCallback callback)
           
 int decode(byte[] b, BSONCallback callback)
           
 int decode(InputStream in, BSONCallback callback)
           
 BSONObject readObject(byte[] b)
           
 BSONObject readObject(InputStream in)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BSONDecoder

public BSONDecoder()
Method Detail

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

decode

public int decode(org.bson.BSONDecoder.Input in,
                  BSONCallback callback)
           throws IOException
Throws:
IOException