Function pack_float

Source
pub fn pack_float(buffer: &mut [u8], value: f32, offset: usize)
Expand description

Packs a float into a buffer at the specified offset using little-endian format.