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 notReturns whether bit at position
i
in data
is set or not.Returns the nearest number that is
>=
than num
and is a multiple of 64Returns 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 1Sets bit at position
i
for data
Sets bit at position
i
for data
to 0Sets bit at position
i
for data
to 0