Table of Contents

Constructor BsonBinaryReader

Namespace
MongoDB.Bson.IO
Assembly
MongoDB.Bson.dll

BsonBinaryReader(Stream)

Initializes a new instance of the BsonBinaryReader class.

public BsonBinaryReader(Stream stream)

Parameters

stream Stream

A stream (BsonBinary does not own the stream and will not Dispose it).

BsonBinaryReader(Stream, BsonBinaryReaderSettings)

Initializes a new instance of the BsonBinaryReader class.

public BsonBinaryReader(Stream stream, BsonBinaryReaderSettings settings)

Parameters

stream Stream

A stream (BsonBinary does not own the stream and will not Dispose it).

settings BsonBinaryReaderSettings

A BsonBinaryReaderSettings.