Decoder

Decoder CF 1.0, ECMA 1.0, serializable

System.Text (mscorlib.dll) abstract class

This class converts byte arrays to character arrays using the encoding class from which it was constructed (a decoder is returned by the GetDecoder( ) method of an Encoding subclass). Decoder saves its state between calls to GetChars( ) , so leftover bytes from previous input byte arrays are remembered and used in subsequent calls.

 public abstract class  Decoder  { // Protected Constructors    protected  Decoder  ( ); // Public Instance Methods    public abstract int  GetCharCount  (byte[ ]   bytes   , int   index   , int   count   );    public abstract int  GetChars  (byte[ ]   bytes   , int   byteIndex   ,  int   byteCount   , char[ ]   chars   ,          int   charIndex   ); } 

Returned By

Encoding.GetDecoder( )



C# in a Nutshell
C # in a Nutshell, Second Edition
ISBN: 0596005261
EAN: 2147483647
Year: 2005
Pages: 963

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net