Mono Class Library: System.Text.UTF8Encoding Overview | Members

System.Text.UTF8Encoding.GetEncoder Method

Returns a System.Text.Encoder for the current instance.

public override Encoder GetEncoder ()

Returns

A System.Text.Encoder for the current instance.

Remarks

Note:

This method overrides Encoding.GetEncoder.

Contrary to UTF8Encoding.GetBytes(Char[], int, int, Byte[], int) , an encoder can convert partial sequences of characters into partial sequences of bytes by maintaining the appropriate state between the conversions.

Requirements

Namespace: System.Text
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0