Converts blocks of bytes into blocks of characters. This class is abstract, and its methods must be overridden.
Object
Decoder
[Visual Basic] MustInherit Public Class Decoder [C#] public abstract class Decoder [C++] public __gc __abstract class Decoder [JScript] public abstract class Decoder
Following instantiation of a decoder, sequential blocks of bytes are converted into blocks of characters through calls to the GetChars method. The decoder maintains state between the conversions, allowing it to correctly decode byte sequences that span adjacent blocks. Instances of specific implementations of the Decoder abstract base class are typically obtained through calls to the GetDecoder method of the encoding objects.
This is an abstract class that has no implementation for any of its methods. You must override these methods.
Namespace: System.Text
Assembly: mscorlib.dll