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

Method read_exact

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

Source from the content-addressed store, hash-verified

116 }
117
118 fn read_exact(&self, addr: usize, dst: &mut [u8]) -> Option<()> {
119 self.with_inner(|inner| inner.read_exact(addr, dst))
120 }
121
122 fn read_vec(&self, addr: usize, len: usize) -> Option<Vec<u8>> {
123 self.with_inner(|inner| inner.read_vec(addr, len))

Callers

nothing calls this directly

Calls 1

with_innerMethod · 0.80

Tested by

no test coverage detected