org.bson
Interface BSONDecoder
- All Known Subinterfaces:
- DBDecoder
- All Known Implementing Classes:
- BasicBSONDecoder, DefaultDBDecoder, LazyBSONDecoder, LazyDBDecoder, LazyWriteableDBDecoder, NewBSONDecoder
public interface BSONDecoder
readObject
BSONObject readObject(byte[] b)
readObject
BSONObject readObject(InputStream in)
throws IOException
- Throws:
IOException
decode
int decode(byte[] b,
BSONCallback callback)
decode
int decode(InputStream in,
BSONCallback callback)
throws IOException
- Throws:
IOException