PeterO.Text.ICharacterEncoding
## PeterO.Text.ICharacterEncoding
public interface ICharacterEncoding
Defines methods that can be implemented by classes that convert to and from bytes and character code points.
Member Summary
[GetDecoder()](#GetDecoder)
- Creates a decoder for this character encoding with initial state.[GetEncoder()](#GetEncoder)
- Creates an encoder for this character encoding with initial state.
PeterO.Text.ICharacterDecoder GetDecoder();
Creates a decoder for this character encoding with initial state. If the decoder is stateless, multiple calls of this method can return the same decoder.
Return Value:
A character decoder object.
PeterO.Text.ICharacterEncoder GetEncoder();
Creates an encoder for this character encoding with initial state. If the encoder is stateless, multiple calls of this method can return the same encoder.
Return Value:
A character encoder object.