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

System.Text.Encoding.GetString Method

Decodes the specified byte array.

public virtual string GetString (byte[] bytes)

Parameters

bytes
The byte array to decode.

Returns

A string containing the decoded representation of bytes.

Exceptions

TypeReason
ArgumentNullExceptionbytes is null.

Remarks

Operation
As described above.

Note to Inheritors
This method is overridden by particular character encodings.

Requirements

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