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

Method write_8

crates/tinywasm/src/store/memory/lazy.rs:146–148  ·  view source on GitHub ↗
(&mut self, base: u64, offset: u64, byte: u8)

Source from the content-addressed store, hash-verified

144 }
145
146 fn write_8(&mut self, base: u64, offset: u64, byte: u8) -> core::result::Result<(), crate::Trap> {
147 self.try_with_inner_mut(|inner| inner.write_8(base, offset, byte))?
148 }
149
150 fn write_16(&mut self, base: u64, offset: u64, bytes: [u8; 2]) -> core::result::Result<(), crate::Trap> {
151 self.try_with_inner_mut(|inner| inner.write_16(base, offset, bytes))?

Callers

nothing calls this directly

Calls 1

try_with_inner_mutMethod · 0.80

Tested by

no test coverage detected