The AnsiEncoding type exposes the following members.
Methods
Name | Description | |
---|---|---|
Clone | When overridden in a derived class, creates a shallow copy of the current Encoding object. (Inherited from Encoding.) | |
Equals | Determines whether the specified Object is equal to the current instance. (Inherited from Encoding.) | |
GetByteCount(Char) | When overridden in a derived class, calculates the number of bytes produced by encoding all the characters in the specified character array. (Inherited from Encoding.) | |
GetByteCount(String) | When overridden in a derived class, calculates the number of bytes produced by encoding the characters in the specified String. (Inherited from Encoding.) | |
GetByteCount(Char*, Int32) | When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters starting at the specified character pointer. (Inherited from Encoding.) | |
GetByteCount(Char, Int32, Int32) |
Gets the byte count.
(Overrides EncodingGetByteCount(Char, Int32, Int32).) | |
GetBytes(Char) | When overridden in a derived class, encodes all the characters in the specified character array into a sequence of bytes. (Inherited from Encoding.) | |
GetBytes(String) | When overridden in a derived class, encodes all the characters in the specified String into a sequence of bytes. (Inherited from Encoding.) | |
GetBytes(Char, Int32, Int32) | When overridden in a derived class, encodes a set of characters from the specified character array into a sequence of bytes. (Inherited from Encoding.) | |
GetBytes(Char*, Int32, Byte*, Int32) | 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. (Inherited from Encoding.) | |
GetBytes(String, Int32, Int32, Byte, Int32) | When overridden in a derived class, encodes a set of characters from the specified String into the specified byte array. (Inherited from Encoding.) | |
GetBytes(Char, Int32, Int32, Byte, Int32) |
Gets the bytes.
(Overrides EncodingGetBytes(Char, Int32, Int32, Byte, Int32).) | |
GetCharCount(Byte) | When overridden in a derived class, calculates the number of characters produced by decoding all the bytes in the specified byte array. (Inherited from Encoding.) | |
GetCharCount(Byte*, Int32) | When overridden in a derived class, calculates the number of characters produced by decoding a sequence of bytes starting at the specified byte pointer. (Inherited from Encoding.) | |
GetCharCount(Byte, Int32, Int32) |
Gets the character count.
(Overrides EncodingGetCharCount(Byte, Int32, Int32).) | |
GetChars(Byte) | When overridden in a derived class, decodes all the bytes in the specified byte array into a set of characters. (Inherited from Encoding.) | |
GetChars(Byte, Int32, Int32) | When overridden in a derived class, decodes a sequence of bytes from the specified byte array into a set of characters. (Inherited from Encoding.) | |
GetChars(Byte*, Int32, Char*, Int32) | 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. (Inherited from Encoding.) | |
GetChars(Byte, Int32, Int32, Char, Int32) |
Gets the chars.
(Overrides EncodingGetChars(Byte, Int32, Int32, Char, Int32).) | |
GetDecoder | When overridden in a derived class, obtains a decoder that converts an encoded sequence of bytes into a sequence of characters. (Inherited from Encoding.) | |
GetEncoder | When overridden in a derived class, obtains an encoder that converts a sequence of Unicode characters into an encoded sequence of bytes. (Inherited from Encoding.) | |
GetHashCode | Returns the hash code for the current instance. (Inherited from Encoding.) | |
GetMaxByteCount |
When overridden in a derived class, calculates the maximum number of bytes produced by encoding the specified number of characters.
(Overrides EncodingGetMaxByteCount(Int32).) | |
GetMaxCharCount |
When overridden in a derived class, calculates the maximum number of characters produced by decoding the specified number of bytes.
(Overrides EncodingGetMaxCharCount(Int32).) | |
GetPreamble | When overridden in a derived class, returns a sequence of bytes that specifies the encoding used. (Inherited from Encoding.) | |
GetString(Byte) | When overridden in a derived class, decodes all the bytes in the specified byte array into a string. (Inherited from Encoding.) | |
GetString(Byte, Int32, Int32) | When overridden in a derived class, decodes a sequence of bytes from the specified byte array into a string. (Inherited from Encoding.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsAlwaysNormalized | Gets a value indicating whether the current encoding is always normalized, using the default normalization form. (Inherited from Encoding.) | |
IsAlwaysNormalized(NormalizationForm) | When overridden in a derived class, gets a value indicating whether the current encoding is always normalized, using the specified normalization form. (Inherited from Encoding.) | |
IsAnsi1252Char |
Indicates whether the specified Unicode character is available in the ANSI code page 1252.
| |
ToString | Returns a String that represents the current Object. (Inherited from Object.) | |
UnicodeToAnsi |
Maps Unicode to ANSI code page 1252.
|
See Also