Click or drag to resize

BinaryMessageEncoderFactory Constructor

Initializes a new instance of the BinaryMessageEncoderFactory class.

Namespace:  MongoDB.Driver.Core.WireProtocol.Messages.Encoders.BinaryEncoders
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax
public BinaryMessageEncoderFactory(
	Stream stream,
	MessageEncoderSettings encoderSettings,
	ICompressorSource compressorSource = null
)

Parameters

stream
Type: System.IOStream
The stream.
encoderSettings
Type: MongoDB.Driver.Core.WireProtocol.Messages.EncodersMessageEncoderSettings
The encoder settings.
compressorSource (Optional)
Type: MongoDB.Driver.Core.CompressionICompressorSource
The compressor source.
See Also