polars_arrow::bitmap::utils

Function count_zeros

Source
pub fn count_zeros(slice: &[u8], offset: usize, len: usize) -> usize
Expand description

Returns the number of zero bits in the slice offsetted by offset and a length of length.

ยงPanics

This function panics iff `offset + len > 8 * slice.len()``.