pub unsafe extern "C" fn bit_lib_set_bit(
    data: *mut u8,
    position: usize,
    bit: bool
)
Expand description

Set a bit in a byte array.

Arguments

  • data - array to set bit in
  • position - The position of the bit to set.
  • bit - bit value to set