polars_arrow::bitmap::utils

Function trailing_zeros

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

Returns the number of zero bits before seeing a one bit in the slice offsetted by offset and a length of length.

ยงPanics

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