decodeDocument() private method

private decodeDocument ( ) : BSONObject
return BSONObject
Example #1
0
        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 ();
		}