pub const fn switch_endianness_u64(val: u64, num_bits: usize) -> u64
Reverses the ordering of the lowest ceil(num_bits / 8) in val.
ceil(num_bits / 8)
val