Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_fit
Method · 0.45
from
Method · 0.45
deref
Method · 0.45
test_from_foreign_vec
Function · 0.45
Calls
no outgoing calls
Tested by
1
test_from_foreign_vec
Function · 0.36