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

Method sliced

arrow-buffer/src/buffer/boolean.rs:530–532  ·  view source on GitHub ↗

Returns a new [`Buffer`] containing the sliced contents of this [`BooleanBuffer`] Equivalent to `self.buffer.bit_slice(self.offset, self.len)`

(&self)

Source from the content-addressed store, hash-verified

528 ///
529 /// Equivalent to `self.buffer.bit_slice(self.offset, self.len)`
530 pub fn sliced(&self) -> Buffer {
531 self.buffer.bit_slice(self.bit_offset, self.bit_len)
532 }
533
534 /// Returns true if this [`BooleanBuffer`] is equal to `other`, using pointer comparisons
535 /// to determine buffer equality. This is cheaper than `PartialEq::eq` but may

Callers 12

buffer_bin_andFunction · 0.80
buffer_bin_orFunction · 0.80
buffer_bin_xorFunction · 0.80
buffer_bin_and_notFunction · 0.80
into_builderMethod · 0.80
into_builderMethod · 0.80
align_nullsFunction · 0.80
substring_by_charFunction · 0.80
byte_substringFunction · 0.80
regexp_is_match_scalarFunction · 0.80
write_array_dataFunction · 0.80

Calls 1

bit_sliceMethod · 0.80

Tested by

no test coverage detected