decodeUInt24
Decodes a ByteArray into an UInt24 using the 3 bytes starting from octetIndex
Return
the decoded UInt24
Parameters
octetIndex
the the index of the octet start the decoding from. Must be be at most the third to last octet
Throws
if octetIndex or its next two octets are not available in the ByteArray