MCPcopy Create free account
hub / github.com/apache/arrow-rs / append_buffer

Method append_buffer

arrow-buffer/src/builder/boolean.rs:252–255  ·  view source on GitHub ↗

Append [`BooleanBuffer`] to this [`BooleanBufferBuilder`]

(&mut self, buffer: &BooleanBuffer)

Source from the content-addressed store, hash-verified

250
251 /// Append [`BooleanBuffer`] to this [`BooleanBufferBuilder`]
252 pub fn append_buffer(&mut self, buffer: &BooleanBuffer) {
253 let range = buffer.offset()..buffer.offset() + buffer.len();
254 self.append_packed_range(range, buffer.values())
255 }
256
257 /// Returns the packed bits
258 pub fn as_slice(&self) -> &[u8] {

Callers

nothing calls this directly

Calls 4

append_packed_rangeMethod · 0.80
offsetMethod · 0.45
lenMethod · 0.45
valuesMethod · 0.45

Tested by

no test coverage detected