Encoding Methods

Encoding Methods

 

Namespace:   System.Text
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodClone()

When overridden in a derived class, creates a shallow copy of the current Encoding object.

System_CAPS_pubmethodSystem_CAPS_staticConvert(Encoding, Encoding, Byte[])

Converts an entire byte array from one encoding to another.

System_CAPS_pubmethodSystem_CAPS_staticConvert(Encoding, Encoding, Byte[], Int32, Int32)

Converts a range of bytes in a byte array from one encoding to another.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified Object is equal to the current instance.(Overrides Object.Equals(Object).)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetByteCount(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.

System_CAPS_pubmethodGetByteCount(Char[])

When overridden in a derived class, calculates the number of bytes produced by encoding all the characters in the specified character array.

System_CAPS_pubmethodGetByteCount(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.

System_CAPS_pubmethodGetByteCount(String)

When overridden in a derived class, calculates the number of bytes produced by encoding the characters in the specified string.

System_CAPS_pubmethodGetBytes(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.

System_CAPS_pubmethodGetBytes(Char[])

When overridden in a derived class, encodes all the characters in the specified character array into a sequence of bytes.

System_CAPS_pubmethodGetBytes(Char[], Int32, Int32)

When overridden in a derived class, encodes a set of characters from the specified character array into a sequence of bytes.

System_CAPS_pubmethodGetBytes(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.

System_CAPS_pubmethodGetBytes(String)

When overridden in a derived class, encodes all the characters in the specified string into a sequence of bytes.

System_CAPS_pubmethodGetBytes(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.

System_CAPS_pubmethodGetCharCount(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.

System_CAPS_pubmethodGetCharCount(Byte[])

When overridden in a derived class, calculates the number of characters produced by decoding all the bytes in the specified byte array.

System_CAPS_pubmethodGetCharCount(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.

System_CAPS_pubmethodGetChars(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.

System_CAPS_pubmethodGetChars(Byte[])

When overridden in a derived class, decodes all the bytes in the specified byte array into a set of characters.

System_CAPS_pubmethodGetChars(Byte[], Int32, Int32)

When overridden in a derived class, decodes a sequence of bytes from the specified byte array into a set of characters.

System_CAPS_pubmethodGetChars(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.

System_CAPS_pubmethodGetDecoder()

When overridden in a derived class, obtains a decoder that converts an encoded sequence of bytes into a sequence of characters.

System_CAPS_pubmethodGetEncoder()

When overridden in a derived class, obtains an encoder that converts a sequence of Unicode characters into an encoded sequence of bytes.

System_CAPS_pubmethodSystem_CAPS_staticGetEncoding(Int32)

Returns the encoding associated with the specified code page identifier.

System_CAPS_pubmethodSystem_CAPS_staticGetEncoding(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.

System_CAPS_pubmethodSystem_CAPS_staticGetEncoding(String)

Returns the encoding associated with the specified code page name.

System_CAPS_pubmethodSystem_CAPS_staticGetEncoding(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.

System_CAPS_pubmethodSystem_CAPS_staticGetEncodings()

Returns an array that contains all encodings.

System_CAPS_pubmethodGetHashCode()

Returns the hash code for the current instance.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetMaxByteCount(Int32)

When overridden in a derived class, calculates the maximum number of bytes produced by encoding the specified number of characters.

System_CAPS_pubmethodGetMaxCharCount(Int32)

When overridden in a derived class, calculates the maximum number of characters produced by decoding the specified number of bytes.

System_CAPS_pubmethodGetPreamble()

When overridden in a derived class, returns a sequence of bytes that specifies the encoding used.

System_CAPS_pubmethodGetString(Byte*, Int32)

When overridden in a derived class, decodes a specified number of bytes starting at a specified address into a string.

System_CAPS_pubmethodGetString(Byte[])

When overridden in a derived class, decodes all the bytes in the specified byte array into a string.

System_CAPS_pubmethodGetString(Byte[], Int32, Int32)

When overridden in a derived class, decodes a sequence of bytes from the specified byte array into a string.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodIsAlwaysNormalized()

Gets a value indicating whether the current encoding is always normalized, using the default normalization form.

System_CAPS_pubmethodIsAlwaysNormalized(NormalizationForm)

When overridden in a derived class, gets a value indicating whether the current encoding is always normalized, using the specified normalization form.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticRegisterProvider(EncodingProvider)

Registers an encoding provider.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Return to top
Show:
© 2016 Microsoft