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

Method value_length

arrow-array/src/array/byte_array.rs:259–262  ·  view source on GitHub ↗
(&self, i: usize)

Source from the content-addressed store, hash-verified

257 /// Panics if index `i` is out of bounds.
258 #[inline]
259 pub fn value_length(&self, i: usize) -> T::Offset {
260 let offsets = self.value_offsets();
261 offsets[i + 1] - offsets[i]
262 }
263
264 /// Returns a reference to the offsets of this array
265 ///

Callers

nothing calls this directly

Calls 1

value_offsetsMethod · 0.45

Tested by

no test coverage detected