Function shift_data_to_back

Source
pub fn shift_data_to_back(
    data: &[u8],
    bits: usize,
    total_bits: usize,
) -> Vec<u8> 
Expand description
  • Shift an array of bits to the back. In a byte, the higher bits are the back bits.