Skip to main content

set_bit_unchecked

Function set_bit_unchecked 

Source
pub unsafe fn set_bit_unchecked(buf: *mut u8, index: usize)
Expand description

Set the bit value at index in buf without bounds checking.

ยงSafety

index must be between 0 and length of buf * 8.