pub fn unpack_float(buffer: &[u8], offset: usize) -> f32
Unpacks a float from a buffer at the specified offset using little-endian format.