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!

Decoder Class

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

Remarks

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.

Requirements

Namespace: System.Text

Assembly: mscorlib.dll

See Also

Decoder Members | System.Text Namespace