decodeAsciiChar

Decodes a Char from a Byte assuming ASCII encoding.


fun ByteArray.decodeAsciiChar(octetIndex: Int): Char

Decodes a Char at octetIndex from a ByteArray assuming ASCII encoding.

Return

the Char decoded from the ByteArray at octetIndex.

Parameters

octetIndex

the index of the octet to decode.