Decodes the specified range of the specified array of bytes as a string of ASCII-encoded characters.
A string object containing the decoded representation of the range in bytes from byteIndex to byteIndex + byteCount -1 as ASCII-encoded characters.
Type Reason ArgumentNullException bytes is null. ArgumentOutOfRangeException byteIndex < 0.
-or-
byteCount < 0.
-or-
(bytes.Length - byteIndex) < byteCount.
Note: This method overrides Encoding.GetString(Byte[]).
Namespace: System.Text
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0