pub fn reverse_bits(buf: &mut [u8])
Reverse the bit order for each byte in the given buf.
buf
This does not alter the buffer’s Endianness.