MCPcopy Create free account
hub / github.com/Ray-D-Song/lexe / len

Method len

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

Source from the content-addressed store, hash-verified

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

Callers 15

to_stringMethod · 0.45
from_arrayMethod · 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
copyFunction · 0.45
subarrayFunction · 0.45
writeFunction · 0.45
safe_byte_sliceFunction · 0.45

Calls 1

as_refMethod · 0.80

Tested by

no test coverage detected