Export (0) Print
Expand All

Encoding Methods

The Encoding type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Clone When overridden in a derived class, creates a shallow copy of the current Encoding object.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Convert Overloaded. Converts a byte array from one encoding to another.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals Determines whether the specified Object is equal to the current instance. (Overrides Object.Equals(Object).)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetByteCount Overloaded. When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetBytes Overloaded. When overridden in a derived class, encodes a set of characters into a sequence of bytes.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetCharCount Overloaded. When overridden in a derived class, calculates the number of characters produced by decoding a sequence of bytes.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetChars Overloaded. When overridden in a derived class, decodes a sequence of bytes into a set of characters.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework 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 the .NET Compact Framework Supported by the XNA Framework 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 the .NET Compact Framework Supported by the XNA Framework GetEncoding Overloaded. Returns an encoding for the specified code page.
Public method Static member GetEncodings Returns an array containing all encodings.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode Returns the hash code for the current instance. (Overrides Object.GetHashCode().)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework 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 the .NET Compact Framework Supported by the XNA Framework 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 the .NET Compact Framework Supported by the XNA Framework GetPreamble When overridden in a derived class, returns a sequence of bytes that specifies the encoding used.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetString Overloaded. When overridden in a derived class, decodes a sequence of bytes into a string.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType Gets the type of the current instance. (Inherited from Object.)
Public method IsAlwaysNormalized Overloaded. Gets a value indicating whether the current encoding is always normalized.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString Returns a string that represents the current object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft