MCPcopy Create free account
hub / github.com/explodingcamera/tinywasm / len

Method len

crates/tinywasm/src/store/memory/lazy.rs:90–92  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

88
89impl LinearMemory for LazyLinearMemory {
90 fn len(&self) -> usize {
91 self.with_inner(|inner| inner.len())
92 }
93
94 fn grow_to(&mut self, new_len: usize) -> Result<(), crate::Trap> {
95 self.try_with_inner_mut(|inner| inner.grow_to(new_len))?

Callers

nothing calls this directly

Calls 1

with_innerMethod · 0.80

Tested by

no test coverage detected