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

Method read_8

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

Source from the content-addressed store, hash-verified

124 }
125
126 fn read_8(&self, base: u64, offset: u64) -> core::result::Result<u8, crate::Trap> {
127 self.try_with_inner(|inner| inner.read_8(base, offset))?
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))?

Callers

nothing calls this directly

Calls 1

try_with_innerMethod · 0.80

Tested by

no test coverage detected