#How to read float from byte array
1 messages · Page 1 of 1 (latest)
you could cast a *const [8]u8 pointer to a *align(1) const f64 and dereference that - do make sure though your bytes are ordered the right way to create the wanted float - endianness means you might get unexpected results if you aren't careful!
i would just use readInt and bitcast the result
also possible