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

System.Text.Encoding.GetChars Method

Decodes the specified range of the specified byte array.

public virtual char[] GetChars (byte[] bytes, int index, int count)

Parameters

bytes
The byte array to decode.
index
A int containing the first index of bytes to decode.
count
A int containing the number of bytes to decode.

Returns

A char array containing the decoded representation of the range in bytes between index to index + count .

Exceptions

TypeReason
ArgumentNullExceptionbytes is null .
ArgumentOutOfRangeExceptionindex and count do not denote a valid range in the byte array.

Remarks

Documentation for this section has not yet been entered.

Requirements

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