Open Rails

ByteEncoding Methods

The methods of the ByteEncoding class are listed below. For a complete list of ByteEncoding class members, see the ByteEncoding Members topic.

Public Instance Methods

Clone (inherited from Encoding)When overridden in a derived class, creates a shallow copy of the current Encoding object.
Equals (inherited from Encoding)Determines whether the specified Object is equal to the current instance.
GetByteCountOverloaded. Calculates the number of bytes produced by encoding a set of characters from the specified character array.
GetByteCount (inherited from Encoding)Overloaded. When overridden in a derived class, calculates the number of bytes produced by encoding all the characters in the specified character array.
GetBytesOverloaded. Encodes a set of characters from the specified character array into the specified byte array.
GetBytes (inherited from Encoding)Overloaded. When overridden in a derived class, encodes all the characters in the specified character array into a sequence of bytes.
GetCharCountOverloaded. Calculates the number of characters produced by decoding a sequence of bytes from the specified byte array.
GetCharCount (inherited from Encoding)Overloaded. When overridden in a derived class, calculates the number of characters produced by decoding all the bytes in the specified byte array.
GetCharsOverloaded. Decodes a sequence of bytes from the specified byte array into the specified character array.
GetChars (inherited from Encoding)Overloaded. When overridden in a derived class, decodes all the bytes in the specified byte array into a set of characters.
GetDecoder (inherited from Encoding)When overridden in a derived class, obtains a decoder that converts an encoded sequence of bytes into a sequence of characters.
GetEncoder (inherited from Encoding)When overridden in a derived class, obtains an encoder that converts a sequence of Unicode characters into an encoded sequence of bytes.
GetHashCode (inherited from Encoding)Returns the hash code for the current instance.
GetMaxByteCount Calculates the maximum number of bytes produced by encoding the specified number of characters.
GetMaxCharCount Calculates the maximum number of characters produced by decoding the specified number of bytes.
GetPreamble (inherited from Encoding)When overridden in a derived class, returns a sequence of bytes that specifies the encoding used.
GetString (inherited from Encoding)Overloaded. When overridden in a derived class, decodes all the bytes in the specified byte array into a string.
GetType (inherited from Object)Gets the Type of the current instance.
IsAlwaysNormalized (inherited from Encoding)Overloaded. Gets a value indicating whether the current encoding is always normalized, using the default normalization form.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

ByteEncoding Class | ORTS.IO Namespace