arrow_buffer::util::bit_mask

Function set_upto_64bits

Source
unsafe fn set_upto_64bits(
    write_data: &mut [u8],
    data: &[u8],
    offset_write: usize,
    offset_read: usize,
    len: usize,
) -> (usize, usize)
Expand description

Similar to set_bits but sets only upto 64 bits, actual number of bits set may vary. Returns a pair of the number of 0 bits and the number of bits set

ยงSafety

The caller must ensure all arguments are within the valid range.