MongoDB.Bson.RawBsonDocument.RawBsonDocument C# (CSharp) Method

RawBsonDocument() public method

Initializes a new instance of the RawBsonDocument class.
slice RawBsonDocument cannot be used with an IByteBuffer that needs disposing.
public RawBsonDocument ( IByteBuffer slice ) : System
slice IByteBuffer The slice.
return System
        public RawBsonDocument(IByteBuffer slice)
        {
            if (slice == null)
            {
                throw new ArgumentNullException("slice");
            }

            _slice = slice;
        }

Same methods

RawBsonDocument::RawBsonDocument ( byte bytes ) : System