Import with #import "std/binary".

Float32FromBits :: (bits: u32) -> float64

The value of an IEEE 754 single from its bits.

Float64FromBits :: (bits: u64) -> float64

The value of an IEEE 754 double from its bits.

ReadU16LE :: (bytes: string, at: s32) -> u32
ReadU32LE :: (bytes: string, at: s32) -> u32
ReadS32LE :: (bytes: string, at: s32) -> s32
ReadF32LE :: (bytes: string, at: s32) -> float64

Source ↗ · All modules