Mono Class Library: System.Text.Encoding Overview | MembersSystem.Text.Encoding.GetDecoder Method |
Returns a System.Text.Decoder for the current instance. [Edit]
|
A System.Text.Decoder for the current instance. [Edit]
Operation
As described above.The default implementation returns a System.Text.Decoder that forwards calls made to the Encoding.GetCharCount(Byte[]) and Encoding.GetChars(Byte[]) methods to the corresponding methods of the current instance.
Note to Inheritors
Encoding that requires state to be maintained between successive conversions should override this method and return an instance of an appropriate System.Text.Decoder implementation.Usage
Unlike the Encoding.GetChars(Byte[]) methods, a System.Text.Decoder can convert partial sequences of bytes into partial sequences of characters by maintaining the appropriate state between the conversions. [Edit]
Namespace: System.Text
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0