polars_arrow::bitmap::utils

Function get_bit_unchecked

Source
pub unsafe fn get_bit_unchecked(bytes: &[u8], i: usize) -> bool
Expand description

Returns whether bit at position i in bytes is set or not.

ยงSafety

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