pub fn pack_float(buffer: &mut [u8], value: f32, offset: usize)
Packs a float into a buffer at the specified offset using little-endian format.