public interface DBEncoder
| Modifier and Type | Method and Description | 
|---|---|
| int | writeObject(OutputBuffer outputBuffer,
           BSONObject document)Encode the BSONObject. | 
int writeObject(OutputBuffer outputBuffer, BSONObject document)
outputBuffer - the OutputBuffer to write todocument - the BSONObject to write