1 2 3 4 5 6 7 8 9 10 11 12
Creates a native endian integer value from its representation as a byte array in big endian. # Examples Basic usage: ``` # use ::exint::primitive::*; # ::exint::uint! { assert_eq!(u24::from_be_bytes([0x12, 0x34, 0x56]), 0x123456_u24); # } ```