Constructor BsonBinaryReader
BsonBinaryReader(Stream)
Initializes a new instance of the BsonBinaryReader class.
public BsonBinaryReader(Stream stream)
Parameters
stream
StreamA 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
StreamA stream (BsonBinary does not own the stream and will not Dispose it).
settings
BsonBinaryReaderSettingsA BsonBinaryReaderSettings.