readFloatBe

Reads a 32-bit IEEE 754 float in big-endian order starting at offset.

The four bytes are decoded as with readIntBe and reinterpreted through Float.fromBits, so the exact bit pattern is preserved, including NaN payloads written by writeFloatBe.

Return

the decoded value.

Parameters

offset

the index of the first byte to read.

Throws

if offset is negative or offset + 4 exceeds the array size.