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

Method add_buffer

arrow-data/src/data.rs:2115–2118  ·  view source on GitHub ↗

Adds a single buffer to the [ArrayData]'s buffers

(mut self, b: Buffer)

Source from the content-addressed store, hash-verified

2113
2114 /// Adds a single buffer to the [ArrayData]'s buffers
2115 pub fn add_buffer(mut self, b: Buffer) -> Self {
2116 self.buffers.push(b);
2117 self
2118 }
2119
2120 /// Adds multiple buffers to the [ArrayData]'s buffers
2121 pub fn add_buffers<I: IntoIterator<Item = Buffer>>(mut self, bs: I) -> Self {

Callers 15

make_list_arrayFunction · 0.80
make_large_list_arrayFunction · 0.80
test_list_nullFunction · 0.80
mainFunction · 0.80
test_nested_listsFunction · 0.80
cast_byte_containerFunction · 0.80

Calls 1

pushMethod · 0.45

Tested by 15

make_list_arrayFunction · 0.64
make_large_list_arrayFunction · 0.64
test_list_nullFunction · 0.64
test_nested_listsFunction · 0.64
test_decimal_listFunction · 0.64