UnicodeEncoding Class |
Namespace: System.Text
[SerializableAttribute] public class UnicodeEncoding : Encoding
The UnicodeEncoding type exposes the following members.
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current UnicodeEncoding object. (Overrides EncodingEquals(Object).) | |
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) | When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters from the specified character array. (Inherited from Encoding.) | |
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(Char, Int32, Int32, Byte, Int32) | When overridden in a derived class, encodes a set of characters from the specified character array into the specified byte array. (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.) | |
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) | When overridden in a derived class, calculates the number of characters produced by decoding a sequence of bytes from the specified byte array. (Inherited from Encoding.) | |
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) | When overridden in a derived class, decodes a sequence of bytes from the specified byte array into the specified character array. (Inherited from Encoding.) | |
GetHashCode | Returns the hash code for the current instance. (Overrides EncodingGetHashCode.) | |
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.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
CharSize | Represents the Unicode version 2.0 character size in bytes. This field is a constant. |