Constructor LazyBsonDocument
LazyBsonDocument(IByteBuffer)
Initializes a new instance of the LazyBsonDocument class.
public LazyBsonDocument(IByteBuffer slice)
Parameters
sliceIByteBufferThe 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
bytesbyte[]The bytes.