Table of Contents

Interface INameDecoder

Namespace
MongoDB.Bson.IO
Assembly
MongoDB.Bson.dll

Represents a name decoder.

public interface INameDecoder
Extension Methods

Methods

Decode(BsonStream, UTF8Encoding)

Decodes the name.

string Decode(BsonStream stream, UTF8Encoding encoding)

Parameters

stream BsonStream

The stream.

encoding UTF8Encoding

The encoding.

Returns

string

The name.

Inform(string)

Informs the decoder of an already decoded name (so the decoder can change state if necessary).

void Inform(string name)

Parameters

name string

The name.