Module arrow_buffer::bit_util

source ·
Expand description

Utils for working with bits

Functions

Returns the ceil of value/divisor
Returns whether bit at position i in data is set or not
Returns whether bit at position i in data is set or not.
Returns the nearest number that is >= than num and is a multiple of 64
Returns the nearest multiple of factor that is >= than num. Here factor must be a power of 2.
Sets bit at position i for data to 1
Sets bit at position i for data
Sets bit at position i for data to 0
Sets bit at position i for data to 0