Struct arrow::array::BooleanBufferBuilder
source · [−]pub struct BooleanBufferBuilder { /* private fields */ }
Implementations
Reserve space to at least additional
new bits.
Capacity will be >= self.len() + additional
.
New bytes are uninitialized and reading them is undefined behavior.
Resizes the buffer, either truncating its contents (with no change in capacity), or
growing it (potentially reallocating it) and writing false
in the newly available bits.
Append range
bits from to_set
to_set
is a slice of bits packed LSB-first into [u8]
Panics
Panics if to_set
does not contain ceil(range.end / 8)
bytes
Returns the packed bits
Trait Implementations
Performs the conversion.