[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Info=Represents a character encoding. [Property] cp_id=Sets the code page identifier of the preferred encoding. ARG(int)|1|0 cp_name=Sets the code page name of the preferred encoding. ARG(string)|2| [Methods] *doConvert=Converts an entire byte array from one encoding to another. ARG(Encoding srcEncoding, Encoding dstEncoding, byte[] bytes)|1|0 *doConvert2=Converts a range of bytes in a byte array from one encoding to another. ARG(Encoding srcEncoding, Encoding dstEncoding, byte[] bytes, int index, int count)|1|0 *doEquals=Determines whether the specified Object is equal to the current instance. ARG(Object value)|1|0 *doGetByteCount=When overridden in a derived class, calculates the number of bytes produced by encoding all the characters in the specified character array. ARG(char[] chars)|1|0 *doGetByteCount2=When overridden in a derived class, calculates the number of bytes produced by encoding the characters in the specified string. ARG(string str)|1|0 *doGetByteCount3=When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters starting at the specified character pointer. ARG(char* chars, int count)|1|0 *doGetByteCount4=When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters from the specified character array. ARG(char[] chars, int index, int count)|1|0 *doGetBytes=When overridden in a derived class, encodes all the characters in the specified character array into a sequence of bytes. ARG(char[] chars)|1|0 *doGetBytes2=When overridden in a derived class, encodes all the characters in the specified string into a sequence of bytes. ARG(string str)|1|0 *doGetBytes3=When overridden in a derived class, encodes a set of characters from the specified character array into a sequence of bytes. ARG(char[] chars, int index, int count)|1|0 *doGetBytes4=When overridden in a derived class, encodes a set of characters starting at the specified character pointer into a sequence of bytes that are stored starting at the specified byte pointer. ARG(char* chars, int charCount, byte* bytes, int byteCount)|1|0 *doGetBytes5=When overridden in a derived class, encodes a set of characters from the specified character array into the specified byte array. ARG(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex)|1|0 *doGetBytes6=When overridden in a derived class, encodes a set of characters from the specified string into the specified byte array. ARG(string str, int charIndex, int charCount, byte[] bytes, int byteIndex)|1|0 *doGetCharCount=When overridden in a derived class, calculates the number of characters produced by decoding all the bytes in the specified byte array. ARG(byte[] bytes)|1|0 *doGetCharCount2=When overridden in a derived class, calculates the number of characters produced by decoding a sequence of bytes starting at the specified byte pointer. ARG(byte* bytes, int count)|1|0 *doGetCharCount3=When overridden in a derived class, calculates the number of characters produced by decoding a sequence of bytes from the specified byte array. ARG(byte[] bytes, int index, int count)|1|0 *doGetChars=When overridden in a derived class, decodes all the bytes in the specified byte array into a set of characters. ARG(byte[] bytes)|1|0 *doGetChars2=When overridden in a derived class, decodes a sequence of bytes from the specified byte array into a set of characters. ARG(byte[] bytes, int index, int count)|1|0 *doGetChars3=When overridden in a derived class, decodes a sequence of bytes starting at the specified byte pointer into a set of characters that are stored starting at the specified character pointer. ARG(byte* bytes, int byteCount, char* chars, int charCount)|1|0 *doGetChars4=When overridden in a derived class, decodes a sequence of bytes from the specified byte array into the specified character array. ARG(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)|1|0 *doGetEncoding=Returns the encoding associated with the specified code page identifier. ARG(int cp_id)|1|0 *doGetEncoding2=Returns the encoding associated with the specified code page name. ARG(string cp_name)|1|0 *doGetEncoding3=Returns the encoding associated with the specified code page identifier. Parameters specify an error handler for characters that cannot be encoded and byte sequences that cannot be decoded. ARG(int cp_id, EncoderFallback encoder, DecoderFallback decoder)|1|0 *doGetEncoding4=Returns the encoding associated with the specified code page name. Parameters specify an error handler for characters that cannot be encoded and byte sequences that cannot be decoded. ARG(string cp_name, EncoderFallback encoder, DecoderFallback decoder)|1|0 *doGetMaxByteCount=When overridden in a derived class, calculates the maximum number of bytes produced by encoding the specified number of characters. ARG(int charCount)|1|0 *doGetMaxCharCount=When overridden in a derived class, calculates the maximum number of characters produced by decoding the specified number of bytes. ARG(int byteCount)|1|0 *doGetString=When overridden in a derived class, decodes all the bytes in the specified byte array into a string. ARG(byte[] bytes)|1|0 *doGetString2=When overridden in a derived class, decodes a sequence of bytes from the specified byte array into a string. ARG(byte[] bytes, int index, int count)|1|0 *doGetString3=When overridden in a derived class, decodes a sequence of bytes from the specified byte array into a string with specified Encoding. ARG(byte[] bytes, int cp_id)|1|0 *doIsAlwaysNormalized2=When overridden in a derived class, gets a value indicating whether the current encoding is always normalized, using the specified normalization form. ARG(NormalizationForm form)|1|0 *onConvert=Occurs after invoke the method doConvert and returns the result. ARG(byte[])|2|13 *onEquals=Occurs after invoke the method doEquals and returns the result. ARG(bool)|2|104 *onGetByteCount=Occurs after invoke the method doGetByteCount and returns the result. ARG(int)|2|1 *onGetBytes=Occurs after invoke the method doGetBytes and returns the result. ARG(byte[])|2|13 *onGetCharCount=Occurs after invoke the method doGetCharCount and returns the result. ARG(int)|2|1 *onGetChars=Occurs after invoke the method doGetChars and returns the result. ARG(char[])|2|13 *onGetEncoding=Occurs after invoke the method doGetEncoding and returns the result. ARG(Encoding)|2|0 *onGetMaxByteCount=Occurs after invoke the method doGetMaxByteCount and returns the result. ARG(int)|2|1 *onGetMaxCharCount=Occurs after invoke the method doGetMaxCharCount and returns the result. ARG(int)|2|1 *onGetString=Occurs after invoke the method doGetString and returns the result. ARG(string)|2|2 *onIsAlwaysNormalized=Occurs after invoke the method doIsAlwaysNormalized and returns the result. ARG(bool)|2|104 *ASCII=Returns an encoding for the ASCII character set. ARG(Encoding)|3|0 *BigEndianUnicode=Returns an encoding for the UTF-16 format that uses the big endian byte order. ARG(Encoding)|3|0 *BodyName=When overridden in a derived class, gets a name for the current encoding that can be used with mail agent body tags. ARG(string)|3|2 *Clone=When overridden in a derived class, creates a shallow copy of the current Encoding object. ARG(Object)|3|0 *CodePage=When overridden in a derived class, gets the code page identifier of the current Encoding. ARG(int)|3|1 *DecoderFallback=Returns the DecoderFallback object for the current Encoding object. ARG(DecoderFallback)|3|0 *Default=Returns an encoding for the operating system's current ANSI code page. ARG(Encoding)|3|0 *EncoderFallback=Returns the EncoderFallback object for the current Encoding object. ARG(EncoderFallback)|3|0 *EncodingName=When overridden in a derived class, gets the human-readable description of the current encoding. ARG(string)|3|2 *GetDecoder=When overridden in a derived class, obtains a decoder that converts an encoded sequence of bytes into a sequence of characters. ARG(Decoder)|3|0 *GetEncoder=When overridden in a derived class, obtains an encoder that converts a sequence of Unicode characters into an encoded sequence of bytes. ARG(Encoder)|3|0 *GetEncodings=Returns an array that contains all encodings. ARG(EncodingInfo[])|3|13 *GetHashCode=Returns the hash code for the current instance. ARG(int)|3|1 *GetPreamble=When overridden in a derived class, returns a sequence of bytes that specifies the encoding used. ARG(byte[])|3|13 *HeaderName=When overridden in a derived class, gets a name for the current encoding that can be used with mail agent header tags. ARG(string)|3|2 *IsAlwaysNormalized=Gets a value indicating whether the current encoding is always normalized, using the default normalization form. ARG(bool)|3|104 *IsBrowserDisplay=When overridden in a derived class, gets a value indicating whether the current encoding can be used by browser clients for displaying content. ARG(bool)|3|104 *IsBrowserSave=When overridden in a derived class, gets a value indicating whether the current encoding can be used by browser clients for saving content. ARG(bool)|3|104 *IsMailNewsDisplay=When overridden in a derived class, gets a value indicating whether the current encoding can be used by mail and news clients for displaying content. ARG(bool)|3|104 *IsMailNewsSave=When overridden in a derived class, gets a value indicating whether the current encoding can be used by mail and news clients for saving content. ARG(bool)|3|104 *IsReadOnly=When overridden in a derived class, gets a value indicating whether the current encoding is read-only. ARG(bool)|3|104 *IsSingleByte=When overridden in a derived class, gets a value indicating whether the current encoding uses single-byte code points. ARG(bool)|3|104 *Unicode=Returns an encoding for the UTF-16 format using the little endian byte order. ARG(Encoding)|3|0 *UTF32=Returns an encoding for the UTF-32 format using the little endian byte order. ARG(Encoding)|3|0 *UTF7=Returns an encoding for the UTF-7 format. ARG(Encoding)|3|0 *UTF8=Returns an encoding for the UTF-8 format. ARG(Encoding)|3|0 *WebName=When overridden in a derived class, gets the name registered with the Internet Assigned Numbers Authority for the current encoding. ARG(string)|3|2 *WindowsCodePage=When overridden in a derived class, gets the Windows operating system code page that most closely corresponds to the current encoding. ARG(int)|3|1 *byteCount=The maximum number of bytes to write. ARG(int)|4|1 *byteIndex=The index at which to start writing the resulting sequence of bytes. ARG(int)|4|1 *bytes=The bytes to convert. ARG(byte[])|4|13 *charCount=The number of characters to encode. ARG(int)|4|1 *charIndex=The index of the first character to encode. ARG(int)|4|1 *chars=The character array containing the characters to encode. ARG(char[])|4|13 *cp_id=The code page identifier of the preferred encoding. Possible values are listed in the Code Page column of the table that appears in the Encoding class topic. -or- 0 (zero), to use the default encoding. ARG(int)|4|1 *count=The number of bytes to convert. ARG(int)|4|1 *decoder=An object that provides an error-handling procedure when a byte sequence cannot be decoded with the current encoding. ARG(DecoderFallback)|4|0 *dstEncoding=The target encoding format. ARG(Encoding)|4|0 *encoder=An object that provides an error-handling procedure when a character cannot be encoded with the current encoding. ARG(EncoderFallback)|4|0 *form=One of the NormalizationForm values. ARG(NormalizationForm)|4|0 *index=The index of the first element of bytes to convert. ARG(int)|4|1 *cp_name=The code page name of the preferred encoding. Any value returned by the WebName property is valid. Possible values are listed in the Name column of the table that appears in the Encoding class topic. ARG(string)|4|2 *str=The string containing the set of characters to encode. ARG(string)|4|2 *srcEncoding=The encoding format of bytes. ARG(Encoding)|4|0 *value=The Object to compare with the current instance. ARG(Object)|4|0