List of usage examples for com.mongodb DBDecoder decode
DBObject decode(byte[] bytes, DBCollection collection);
From source file:org.jongo.bench.DecoderBench.java
License:Apache License
private DBObject decode(DBDecoderFactory factory) { DBDecoder decoder = factory.create(); return decoder.decode(FRIEND_AS_BYTE, (DBCollection) null); }