System.Text.Encoder: Method Members

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

See Also: Inherited members from System.Object

Public Methods

Convert(char[], int, int, byte[], int, int, bool, out int, out int, out bool)
Documentation for this section has not yet been entered.
Convert(char*, int, byte*, int, bool, out int, out int, out bool)
Documentation for this section has not yet been entered.
GetByteCount(char*, int, bool) : int

When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters starting at the specified character pointer. A parameter indicates whether to clear the internal state of the encoder after the calculation.

abstract
GetByteCount(char[], int, int, bool) : int

When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters from the specified character array. A parameter indicates whether to clear the internal state of the encoder after the calculation.

GetBytes(char*, int, byte*, int, bool) : int

When overridden in a derived class, encodes a set of characters starting at the specified character pointer and any characters in the internal buffer into a sequence of bytes that are stored starting at the specified byte pointer. A parameter indicates whether to clear the internal state of the encoder after the conversion.

abstract
GetBytes(char[], int, int, byte[], int, bool) : int

When overridden in a derived class, encodes a set of characters from the specified character array and any characters in the internal buffer into the specified byte array. A parameter indicates whether to clear the internal state of the encoder after the conversion.

Reset()

When overridden in a derived class, sets the encoder back to its initial state.