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

Method read_16

crates/tinywasm/src/store/memory/lazy.rs:130–132  ·  view source on GitHub ↗
(&self, base: u64, offset: u64)

Source from the content-addressed store, hash-verified

128 }
129
130 fn read_16(&self, base: u64, offset: u64) -> core::result::Result<[u8; 2], crate::Trap> {
131 self.try_with_inner(|inner| inner.read_16(base, offset))?
132 }
133
134 fn read_32(&self, base: u64, offset: u64) -> core::result::Result<[u8; 4], crate::Trap> {
135 self.try_with_inner(|inner| inner.read_32(base, offset))?

Callers

nothing calls this directly

Calls 1

try_with_innerMethod · 0.80

Tested by

no test coverage detected