1 2 3 4 5 6 7 8 9 10 11 12 13
Returns the memory representation of this integer as a byte array in little-endian byte order. # Examples Basic usage: ``` # use ::exint::primitive::*; # ::exint::uint! { assert_eq!(0x123456_u24.to_le_bytes(), [0x56, 0x34, 0x12]); # } ```