DefaultDBEncoder, LazyDBEncoderpublic interface DBEncoder
| Modifier and Type | Method | 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