Table of Contents

Interface IMessageEncoder

Namespace
MongoDB.Driver.Core.WireProtocol.Messages.Encoders
Assembly
MongoDB.Driver.Core.dll

Represents a message encoder.

public interface IMessageEncoder

Methods

ReadMessage()

Reads the message.

MongoDBMessage ReadMessage()

Returns

MongoDBMessage

A message.

WriteMessage(MongoDBMessage)

Writes the message.

void WriteMessage(MongoDBMessage message)

Parameters

message MongoDBMessage

The message.