Skip to main content

null_buffer_from_bytes

Function null_buffer_from_bytes 

Source
pub fn null_buffer_from_bytes(bytes: &[u8], len: usize) -> Option<NullBuffer>
Expand description

Rebuild an Arrow NullBuffer from a stored bitmap.

bytes must hold at least bitmap_len(len) bytes; extra trailing bytes are ignored. Returns None if the bitmap marks every row valid, which lets the caller skip attaching a null buffer entirely.