arrow_buffer::buffer

Function bitwise_quaternary_op_helper

Source
pub fn bitwise_quaternary_op_helper<F>(
    buffers: [&Buffer; 4],
    offsets: [usize; 4],
    len_in_bits: usize,
    op: F,
) -> Buffer
where F: Fn(u64, u64, u64, u64) -> u64,
Expand description

Apply a bitwise operation op to four inputs and return the result as a Buffer. The inputs are treated as bitmaps, meaning that offsets and length are specified in number of bits.