bit_lib_set_bit

Function bit_lib_set_bit 

Source
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