decodeUTF16Char

fun ByteArray.decodeUTF16Char(octetIndex: Int, order: ByteOrder): Char

Decodes a Char at octetIndex from a ByteArray assuming UTF-16 encoding.

Return

the Char decoded from the ByteArray at octetIndex.

Parameters

octetIndex

the index of the octet to decode.