toUShort
Returns an Int from a byte array with a given offset.
Return
Short.
Parameters
offset
The index to start from.
Throws
If the length of the byte array is not >= offset + 2.
Returns an Int from a byte array with a given offset.
Short.
The index to start from.
If the length of the byte array is not >= offset + 2.