public class

BasicBSONDecoder

extends Object
implements BSONDecoder
java.lang.Object
   ↳ org.bson.BasicBSONDecoder
Known Direct Subclasses

Class Overview

Basic implementation of BSONDecoder interface that creates BasicBSONObject instances

Summary

Nested Classes
class BasicBSONDecoder.BSONInput  
Fields
protected BSONCallback _callback
protected BasicBSONDecoder.BSONInput _in
protected int _len
protected int _pos
Public Constructors
BasicBSONDecoder()
Public Methods
int decode(InputStream in, BSONCallback callback)
int decode(byte[] b, BSONCallback callback)
BSONObject readObject(InputStream in)
BSONObject readObject(byte[] b)
Protected Methods
void _binary(String name)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.bson.BSONDecoder

Fields

protected BSONCallback _callback

protected int _len

protected int _pos

Public Constructors

public BasicBSONDecoder ()

Public Methods

public int decode (InputStream in, BSONCallback callback)

Throws
IOException

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

public BSONObject readObject (InputStream in)

Throws
IOException

public BSONObject readObject (byte[] b)

Protected Methods

protected void _binary (String name)

Throws
IOException