Constructor CompressedMessage
- Namespace
- MongoDB.Driver.Core.WireProtocol.Messages
- Assembly
- MongoDB.Driver.Core.dll
CompressedMessage(MongoDBMessage, BsonStream, CompressorType)
Initializes a new instance of the CompressedMessage class.
public CompressedMessage(MongoDBMessage originalMessage, BsonStream originalMessageStream, CompressorType compressorType)
Parameters
originalMessage
MongoDBMessageThe original message.
originalMessageStream
BsonStreamThe original message stream.
compressorType
CompressorTypeThe compressor type.