pub fn reverse_bits(max_bits: u32, bits: u64) -> u64
Reverses the bits of a u64 value
max_bits
bits
The reversed bits