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

Method len

arrow-buffer/src/buffer/immutable.rs:183–185  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

181 /// Returns the number of bytes in the buffer
182 #[inline]
183 pub fn len(&self) -> usize {
184 self.length
185 }
186
187 /// Returns the capacity of this buffer.
188 /// For externally owned buffers, this returns zero

Callers 4

shrink_to_fitMethod · 0.45
fromMethod · 0.45
derefMethod · 0.45
test_from_foreign_vecFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_from_foreign_vecFunction · 0.36