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

Method read

crates/tinywasm/src/store/memory/lazy.rs:98–100  ·  view source on GitHub ↗
(&self, addr: usize, dst: &mut [u8])

Source from the content-addressed store, hash-verified

96 }
97
98 fn read(&self, addr: usize, dst: &mut [u8]) -> usize {
99 self.with_inner(|inner| inner.read(addr, dst))
100 }
101
102 fn write(&mut self, addr: usize, src: &[u8]) -> usize {
103 self.with_inner_mut(|inner| inner.write(addr, src))

Callers

nothing calls this directly

Calls 1

with_innerMethod · 0.80

Tested by

no test coverage detected