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

System.Text.UTF8Encoding Constructor

Constructs a new instance of the System.Text.UTF8Encoding class with the specified bool that indicates whether the Unicode byte order mark in UTF-8 is recognized or emitted when reading from or writing to a System.IO.Stream.

public UTF8Encoding (bool encoderShouldEmitUTF8Identifier)

Parameters

encoderShouldEmitUTF8Identifier
A bool that indicates whether the Unicode byte order mark in UTF-8 is recognized or emitted when reading from or writing to a System.IO.Stream .

Remarks

This constructor is equivalent to System.Text.UTF8Encoding (encoderShouldEmitUTF8Identifier, false ).

Note: By default, this constructor turns error-checking off for the new instance.

Requirements

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