public static BSONObject Load(byte[] buf) { SimpleBSON bson = new SimpleBSON(buf); return(bson.decodeDocument()); }
//private BinaryWriter mBinaryWriter; public static BSONObject Load(byte[] buf) { SimpleBSON bson = new SimpleBSON (buf); return bson.decodeDocument (); }