Encoder

Encoder


Provides an interface for encoding unicode characters into bytes.


Public:

Properties:

NameDescription
 Fallback (get) Returns an EncoderFallback object for the current Encoder object.  
 Fallback (set) Sets an EncoderFallback object instance for the current Encoder object.  
 FallbackBuffer (get) Return an EncoderFallbackBuffer object associated with current Encoder object.  

Methods:

NameDescription
 Convert Converts an array of Unicode characters to an encoded byte sequence and stores the result in an array of bytes.  
 Equals Used to determine if to objects are of equal value.  
 GetByteCount Returns the number of encoded bytes the set of characters would produce.  
 GetBytes Returns the encoded bytes generated from a set of unicode characters.  
 GetHashCode Returns a pseudo-unique number to identify this instance.  
 Reset Clears the internal state of the encoder.  
 ToString Returns a string representation of this instance.  

See Also

Project CorLib Overview

Class Encoder Overview