MCPcopy Create free account
hub / github.com/awslabs/llrt / len

Method len

modules/llrt_buffer/src/array_buffer_view.rs:133–135  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

131 }
132
133 pub fn len(&self) -> usize {
134 self.buffer.as_ref().map(|b| b.len).unwrap_or(0)
135 }
136
137 #[allow(dead_code)]
138 pub fn is_empty(&self) -> bool {

Callers 15

convert_trailing_spaceFunction · 0.45
erase_empty_host_pathFunction · 0.45
to_stringMethod · 0.45
from_arrayMethod · 0.45
from_objectMethod · 0.45
is_emptyMethod · 0.45
alloc_byte_refFunction · 0.45
maybeuninit_to_u8Function · 0.45
byte_lengthFunction · 0.45
concatFunction · 0.45
fromFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_lookup_orderFunction · 0.36