Interface INameDecoder
Represents a name decoder.
public interface INameDecoder
- Extension Methods
Methods
Decode(BsonStream, UTF8Encoding)
Decodes the name.
string Decode(BsonStream stream, UTF8Encoding encoding)
Parameters
streamBsonStreamThe stream.
encodingUTF8EncodingThe 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
namestringThe name.