NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Encoder Class

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

Remarks

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.

Requirements

Namespace: System.Text

Assembly: mscorlib.dll

See Also

Encoder Members | System.Text Namespace