Encoding Methods
Silverlight
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 the Object 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(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) | Security Critical. 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(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(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 | Returns the encoding associated with the specified name. |
|
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 | 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.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Community Additions
ADD
Show: