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

System.Text.ASCIIEncoding.GetString Method

Decodes the specified array of bytes as a string of ASCII-encoded characters.

public override string GetString (byte[] bytes)

Parameters

bytes
A byte array to decode as ASCII-encoded characters.

Returns

A string containing the decoded representation of bytes as ASCII-encoded characters.

Exceptions

TypeReason
ArgumentNullExceptionbytes is null.

Remarks

Note: This method overrides Encoding.GetString(Byte[]).

Requirements

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