decodeUByte

fun ByteArray.decodeUByte(octetIndex: Int): UByte

Decodes a UByte from the given ByteArray at the given octetIndex.

Return

the decoded UByte.

Parameters

octetIndex

the index of the octet to decode.