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

Method write_16

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

Source from the content-addressed store, hash-verified

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))?
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))?

Callers

nothing calls this directly

Calls 1

try_with_inner_mutMethod · 0.80

Tested by

no test coverage detected