Table of Contents

Constructor LazyBsonDocument

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

LazyBsonDocument(IByteBuffer)

Initializes a new instance of the LazyBsonDocument class.

public LazyBsonDocument(IByteBuffer slice)

Parameters

slice IByteBuffer

The 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.