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

Method write_all

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

Source from the content-addressed store, hash-verified

104 }
105
106 fn write_all(&mut self, addr: usize, src: &[u8]) -> Option<()> {
107 self.with_inner_mut(|inner| inner.write_all(addr, src))
108 }
109
110 fn fill(&mut self, addr: usize, len: usize, val: u8) -> Option<()> {
111 self.with_inner_mut(|inner| inner.fill(addr, len, val))

Callers

nothing calls this directly

Calls 1

with_inner_mutMethod · 0.80

Tested by

no test coverage detected