pub unsafe extern "C" fn bit_lib_set_bits(
    data: *mut u8,
    position: usize,
    byte: u8,
    length: u8
)
Expand description

Set the bit at the given position to the given value.

Arguments

  • data - The data to set the bit in.
  • position - The position of the bit to set.
  • byte - The data to set the bit to.
  • length - The length of the data.