decodeFloat

Return

the decoded float

See also


fun decodeFloat(bytes: ByteArray, offset: Int): Float

Decode the payload that was encoded using encodeFloat. NOTE: the length of the array must be at least offset + 4 long.

Return

The float that was encoded

Parameters

bytes

The bytes to decode

offset

The offset into the array.

See also