Skip to main content

reverse_bits

Function reverse_bits 

Source
pub fn reverse_bits(buf: &mut [u8])
Expand description

Reverse the bit order for each byte in the given buf.

This does not alter the buffer’s Endianness.