Constructor LazyBsonDocument
LazyBsonDocument(IByteBuffer)
Initializes a new instance of the LazyBsonDocument class.
public LazyBsonDocument(IByteBuffer slice)
Parameters
slice
IByteBufferThe slice.
Exceptions
- ArgumentNullException
slice
- ArgumentException
LazyBsonDocument cannot be used with an IByteBuffer that needs disposing.
LazyBsonDocument(byte[])
Initializes a new instance of the LazyBsonDocument class.
public LazyBsonDocument(byte[] bytes)
Parameters
bytes
byte[]The bytes.