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

Method fill

crates/tinywasm/src/store/memory/lazy.rs:110–112  ·  view source on GitHub ↗
(&mut self, addr: usize, len: usize, val: u8)

Source from the content-addressed store, hash-verified

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))
112 }
113
114 fn copy_within(&mut self, dst: usize, src: usize, len: usize) -> Option<()> {
115 self.with_inner_mut(|inner| inner.copy_within(dst, src, len))

Callers

nothing calls this directly

Calls 1

with_inner_mutMethod · 0.80

Tested by

no test coverage detected