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

Converts a slice of u8 values from big-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![0x12, 0x34, 0x56, 0x78];
cgl_rs::utils::big_endian_to_current(&mut data);