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

Method write_32

crates/tinywasm/src/store/memory/lazy.rs:154–156  ·  view source on GitHub ↗
(&mut self, base: u64, offset: u64, bytes: [u8; 4])

Source from the content-addressed store, hash-verified

152 }
153
154 fn write_32(&mut self, base: u64, offset: u64, bytes: [u8; 4]) -> core::result::Result<(), crate::Trap> {
155 self.try_with_inner_mut(|inner| inner.write_32(base, offset, bytes))?
156 }
157
158 fn write_64(&mut self, base: u64, offset: u64, bytes: [u8; 8]) -> core::result::Result<(), crate::Trap> {
159 self.try_with_inner_mut(|inner| inner.write_64(base, offset, bytes))?

Callers

nothing calls this directly

Calls 1

try_with_inner_mutMethod · 0.80

Tested by

no test coverage detected