This documentation is archived and is not being maintained.
Encoding Methods
Visual Studio 2010
The Encoding type exposes the following members.
| Name | Description | |
|---|---|---|
|
Clone | When overridden in a derived class, creates a shallow copy of the current Encoding object. |
|
Convert(Encoding, Encoding, array<Byte>) | Converts an entire byte array from one encoding to another. |
|
Convert(Encoding, Encoding, array<Byte>, Int32, Int32) | Converts a range of bytes in a byte array from one encoding to another. |
|
Equals | Determines whether the specified Object is equal to the current instance. (Overrides Object::Equals(Object).) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetByteCount(array<Char>) | When overridden in a derived class, calculates the number of bytes produced by encoding all the characters in the specified character array. |
|
GetByteCount(String) | When overridden in a derived class, calculates the number of bytes produced by encoding the characters in the specified string. |
|
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. |
|
GetByteCount(array<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. |
|
GetBytes(array<Char>) | When overridden in a derived class, encodes all the characters in the specified character array into a sequence of bytes. |
|
GetBytes(String) | When overridden in a derived class, encodes all the characters in the specified string into a sequence of bytes. |
|
GetBytes(array<Char>, Int32, Int32) | When overridden in a derived class, encodes a set of characters from the specified character array into a sequence of bytes. |
|
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. |
|
GetBytes(array<Char>, Int32, Int32, array<Byte>, Int32) | When overridden in a derived class, encodes a set of characters from the specified character array into the specified byte array. |
|
GetBytes(String, Int32, Int32, array<Byte>, Int32) | When overridden in a derived class, encodes a set of characters from the specified string into the specified byte array. |
|
GetCharCount(array<Byte>) | When overridden in a derived class, calculates the number of characters produced by decoding all the bytes in the specified byte array. |
|
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. |
|
GetCharCount(array<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. |
|
GetChars(array<Byte>) | When overridden in a derived class, decodes all the bytes in the specified byte array into a set of characters. |
|
GetChars(array<Byte>, Int32, Int32) | When overridden in a derived class, decodes a sequence of bytes from the specified byte array into a set of characters. |
|
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. |
|
GetChars(array<Byte>, Int32, Int32, array<Char>, Int32) | When overridden in a derived class, decodes a sequence of bytes from the specified byte array into the specified character array. |
|
GetDecoder | When overridden in a derived class, obtains a decoder that converts an encoded sequence of bytes into a sequence of characters. |
|
GetEncoder | When overridden in a derived class, obtains an encoder that converts a sequence of Unicode characters into an encoded sequence of bytes. |
|
GetEncoding(Int32) | Returns the encoding associated with the specified code page identifier. |
|
GetEncoding(String) | Returns the encoding associated with the specified code page name. |
|
GetEncoding(Int32, EncoderFallback, DecoderFallback) | 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. |
|
GetEncoding(String, EncoderFallback, DecoderFallback) | 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. |
|
GetEncodings | Returns an array that contains all encodings. |
|
GetHashCode | Returns the hash code for the current instance. (Overrides Object::GetHashCode().) |
|
GetMaxByteCount | When overridden in a derived class, calculates the maximum number of bytes produced by encoding the specified number of characters. |
|
GetMaxCharCount | When overridden in a derived class, calculates the maximum number of characters produced by decoding the specified number of bytes. |
|
GetPreamble | When overridden in a derived class, returns a sequence of bytes that specifies the encoding used. |
|
GetString(array<Byte>) | When overridden in a derived class, decodes all the bytes in the specified byte array into a string. |
|
GetString(array<Byte>, Int32, Int32) | When overridden in a derived class, decodes a sequence of bytes from the specified byte array into a string. |
|
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. |
|
IsAlwaysNormalized(NormalizationForm) | When overridden in a derived class, gets a value indicating whether the current encoding is always normalized, using the specified normalization form. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Show: