decode

fun decode(encoded: Int): Float

Turns quantized value from .encode back into a double.

Return

decoded value value.

Parameters

encoded

encoded value: 32-bit quantized value.


fun decode(src: ByteArray, offset: Int): Float

Turns quantized value from byte array back into a double.

Return

decoded value.

Parameters

src

byte array containing 4 bytes to decode at offset

offset

offset into src to decode from.