Export (0) Print
Expand All

Encoding Methods

The Encoding type exposes the following members.

  Name Description
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Clone When overridden in a derived class, creates a shallow copy of the current Encoding object.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Convert(Encoding, Encoding, Byte[]) Converts an entire byte array from one encoding to another.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Convert(Encoding, Encoding, Byte[], Int32, Int32) Converts a range of bytes in a byte array from one encoding to another.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Equals Determines whether the specified Object is equal to the current instance. (Overrides Object.Equals(Object).)
Protected method Supported by Silverlight for Windows Phone Supported by Xbox 360 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.)
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetByteCount(Char[]) When overridden in a derived class, calculates the number of bytes produced by encoding all the characters in the specified character array.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetByteCount(String) When overridden in a derived class, calculates the number of bytes produced by encoding the characters in the specified string.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 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.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetBytes(Char[]) When overridden in a derived class, encodes all the characters in the specified character array into a sequence of bytes.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetBytes(String) When overridden in a derived class, encodes all the characters in the specified string into a sequence of bytes.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 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.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 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.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 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.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 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.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetCharCount(Byte[]) When overridden in a derived class, calculates the number of characters produced by decoding all the bytes in the specified byte array.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 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.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetChars(Byte[]) When overridden in a derived class, decodes all the bytes in the specified byte array into a set of characters.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 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.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 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.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetDecoder When overridden in a derived class, obtains a decoder that converts an encoded sequence of bytes into a sequence of characters.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetEncoder When overridden in a derived class, obtains an encoder that converts a sequence of Unicode characters into an encoded sequence of bytes.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 GetEncoding Returns the encoding associated with the specified name.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetHashCode Returns the hash code for the current instance. (Overrides Object.GetHashCode().)
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetMaxByteCount When overridden in a derived class, calculates the maximum number of bytes produced by encoding the specified number of characters.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetMaxCharCount When overridden in a derived class, calculates the maximum number of characters produced by decoding the specified number of bytes.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetPreamble When overridden in a derived class, returns a sequence of bytes that specifies the encoding used.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetString When overridden in a derived class, decodes a sequence of bytes from the specified byte array into a string.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method Supported by Silverlight for Windows Phone Supported by Xbox 360 MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ToString Returns a string that represents the current object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2015 Microsoft