Function bit_lib_remove_bit_every_nth
Source pub unsafe extern "C" fn bit_lib_remove_bit_every_nth(
data: *mut u8,
position: usize,
length: u8,
n: u8,
) -> usize
Expand description
Remove bit every n in array and shift array left. Useful to remove parity.
§Arguments
data - Bit array
position - Start position
length - Bit count
n - every n bit will be removed
§Returns
size_t