org.bson
Class BSONDecoder

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

public class BSONDecoder
extends java.lang.Object


Constructor Summary
BSONDecoder()
           
 
Method Summary
 int decode(org.bson.BSONDecoder.Input in, BSONCallback callback)
           
 int decode(byte[] b, BSONCallback callback)
           
 int decode(java.io.InputStream in, BSONCallback callback)
           
 BSONObject readObject(byte[] b)
           
 BSONObject readObject(java.io.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(java.io.InputStream in)
                      throws java.io.IOException
Throws:
java.io.IOException

decode

public int decode(byte[] b,
                  BSONCallback callback)

decode

public int decode(java.io.InputStream in,
                  BSONCallback callback)
           throws java.io.IOException
Throws:
java.io.IOException

decode

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