macro_rules! big_endian {
    ($arr: expr) => { ... };
}
Expand description

A simple macro that converts a 4 byte array/slice/vec/etc into a u32 using big_endian This is used rather than u32::from_be_bytes because it consumes the array