Skip to main content

Module bit_util

Module bit_util 

Source

Re-exports§

use arrow_buffer::bit_chunk_iterator::UnalignedBitChunk; 🔒
use std::ops::Range; 🔒

Functions§

count_set_bits
Counts the number of set bits in the provided range
iter_set_bits_rev
Iterates through the set bit positions in bytes in reverse order
sign_extend_be
Performs big endian sign extension
sign_extend_be_fixed
Sign extends b, a big-endian two’s complement value of W bytes, to N bytes.