Mono Class Library: Overview

System.Text.Encoding: Method Members

The methods of System.Text.Encoding are listed below. For a list of all members, see the Encoding Members list.

See Also: Inherited members from System.Object

Public Methods

Clone() : object
Documentation for this section has not yet been entered.
static
Convert(Encoding, Encoding, byte[]) : byte[]
Converts the specified byte array from one specified encoding to another specified encoding.
static
Convert(Encoding, Encoding, byte[], int, int) : byte[]
Converts the specified range of the specified byte array from one specified encoding to another specified encoding.
override
Equals(object) : bool
Determines whether the current instance and the specified object represent the same type and value.
GetByteCount(char[]) : int
Returns the number of bytes required to encode the specified char array.
GetByteCount(string) : int
Returns the number of bytes required to encode the specified string.
GetByteCount(char*, int) : int
Documentation for this section has not yet been entered.
abstract
GetByteCount(char[], int, int) : int
Returns the number of bytes required to encode the specified range of characters in the specified Unicode character array.
GetBytes(char[]) : byte[]
Encodes the specified char array.
GetBytes(string) : byte[]
Encodes the specified string.
GetBytes(char[], int, int) : byte[]
Encodes the specified range of the specified char array.
GetBytes(char*, int, byte*, int) : int
Documentation for this section has not yet been entered.
abstract
GetBytes(char[], int, int, byte[], int) : int
Encodes the specified range of the specified char array into the specified range of the specified byte array.
GetBytes(string, int, int, byte[], int) : int
Encodes the specified range of the specified string into the specified range of the specified byte array.
GetCharCount(byte[]) : int
Determines the exact number of characters that will be produced by decoding the specified byte array.
GetCharCount(byte*, int) : int
Documentation for this section has not yet been entered.
abstract
GetCharCount(byte[], int, int) : int
Determines the exact number of characters that will be produced by decoding the specified range of the specified byte array.
GetChars(byte[]) : char[]
Decodes a byte array.
GetChars(byte[], int, int) : char[]
Decodes the specified range of the specified byte array.
GetChars(byte*, int, char*, int) : int
Documentation for this section has not yet been entered.
abstract
GetChars(byte[], int, int, char[], int) : int
Decodes the specified range of the specified byte array into the specified range of the specified char array.
GetDecoder() : Decoder
Returns a System.Text.Decoder for the current instance.
GetEncoder() : Encoder
Returns a System.Text.Encoder for the current instance.
static
GetEncoding(int) : Encoding
Documentation for this section has not yet been entered.
static
GetEncoding(string) : Encoding
Documentation for this section has not yet been entered.
static
GetEncoding(int, EncoderFallback, DecoderFallback) : Encoding
Documentation for this section has not yet been entered.
static
GetEncoding(string, EncoderFallback, DecoderFallback) : Encoding
Documentation for this section has not yet been entered.
static
GetEncodings() : EncodingInfo[]
Documentation for this section has not yet been entered.
override
GetHashCode() : int
Generates a hash code for the current instance.
abstract
GetMaxByteCount(int) : int
Returns the maximum number of bytes required to encode the specified number of characters, regardless of the actual character values.
abstract
GetMaxCharCount(int) : int
Returns the maximum number of characters produced by decoding the specified number of bytes, regardless of the actual byte values.
GetPreamble() : byte[]
Returns the bytes used at the beginning of a System.IO.Stream to determine which System.Text.Encoding the stream was created with.
GetString(byte[]) : string
Decodes the specified byte array.
GetString(byte[], int, int) : string
Decodes the specified range of the specified byte array.
IsAlwaysNormalized() : bool
Documentation for this section has not yet been entered.
IsAlwaysNormalized(NormalizationForm) : bool
Documentation for this section has not yet been entered.