Encodes a sequence of blocks of characters into blocks of bytes. This is an abstract class, and its methods must be overridden.
Object
Encoder
[Visual Basic] MustInherit Public Class Encoder [C#] public abstract class Encoder [C++] public __gc __abstract class Encoder [JScript] public abstract class Encoder
Following instantiation of an encoder, sequential blocks of characters are converted into blocks of bytes through calls to the Encoder.GetBytes method. The encoder maintains state [a1] between the conversions, allowing it to correctly encode character sequences that span adjacent blocks. Instances of specific implementations of the Encoder abstract base class are typically obtained through calls to the Encoding.GetEncoder method.
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