Function reverse_bits

Source
pub fn reverse_bits(max_bits: u32, bits: u64) -> u64
Expand description

Reverses the bits of a u64 value

§Arguments

  • max_bits - The number of bits to reverse
  • bits - The bits to reverse

§Returns

The reversed bits