getFloatValue

fun getFloatValue(formatType: FloatFormat, @IntRange(from = 0) offset: Int): Float?

Returns an float value from the given byte array.

Return

Cached value at a given offset or null if the requested offset exceeds the value size.

Parameters

formatType

The format type used to interpret the value.

offset

Offset at which the float value can be found.