List of usage examples for com.mongodb DBEncoder writeObject
int writeObject(OutputBuffer outputBuffer, BSONObject document);
From source file:org.jongo.bson.BufferedBsonDocument.java
License:Apache License
private void encode(BSONObject dbo) { DBEncoder dbEncoder = DefaultDBEncoder.FACTORY.create(); dbEncoder.writeObject(buffer, dbo); }