Table of Contents

Constructor BsonBinaryWriter

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

BsonBinaryWriter(Stream)

Initializes a new instance of the BsonBinaryWriter class.

public BsonBinaryWriter(Stream stream)

Parameters

stream Stream

A stream. The BsonBinaryWriter does not own the stream and will not Dispose it.

BsonBinaryWriter(Stream, BsonBinaryWriterSettings)

Initializes a new instance of the BsonBinaryWriter class.

public BsonBinaryWriter(Stream stream, BsonBinaryWriterSettings settings)

Parameters

stream Stream

A stream. The BsonBinaryWriter does not own the stream and will not Dispose it.

settings BsonBinaryWriterSettings

The BsonBinaryWriter settings.