Table of Contents

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 MongoDBMessage

The original message.

originalMessageStream BsonStream

The original message stream.

compressorType CompressorType

The compressor type.