Constructor BsonBinaryWriter
BsonBinaryWriter(Stream)
Initializes a new instance of the BsonBinaryWriter class.
Parameters
stream
StreamA stream. The BsonBinaryWriter does not own the stream and will not Dispose it.
BsonBinaryWriter(Stream, BsonBinaryWriterSettings)
Initializes a new instance of the BsonBinaryWriter class.
Parameters
stream
StreamA stream. The BsonBinaryWriter does not own the stream and will not Dispose it.
settings
BsonBinary Writer Settings The BsonBinaryWriter settings.