arrow_buffer::util::bit_util

Function get_bit_raw

Source
pub unsafe fn get_bit_raw(data: *const u8, i: usize) -> bool
Expand description

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

§Safety

Note this doesn’t do any bound checking, for performance reason. The caller is responsible to guarantee that i is within bounds.