polars_arrow::bitmap::utils

Function set_bit_unchecked

Source
pub unsafe fn set_bit_unchecked(bytes: &mut [u8], i: usize, value: bool)
Expand description

Sets bit at position i in bytes without doing bound checks.

ยงSafety

i >= bytes.len() * 8 results in undefined behavior.