pub fn little_endian_to_current(data: &mut [u8])
Expand description

Converts a slice of u8 values from little-endian byte order to the system’s native byte order.

Arguments

  • data - A mutable slice of u8 values to convert.

Example

let mut data = vec![0x78, 0x56, 0x34, 0x12];
cgl_rs::utils::little_endian_to_current(&mut data);