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

Method load

crates/tinywasm/src/store/memory/mod.rs:424–426  ·  view source on GitHub ↗
(mem: &dyn LinearMemory, base: u64, offset: u64)

Source from the content-addressed store, hash-verified

422
423 #[inline(always)]
424 fn load(mem: &dyn LinearMemory, base: u64, offset: u64) -> core::result::Result<Self, crate::Trap> {
425 mem.read_8(base, offset)
426 }
427}
428
429impl MemValue<1> for i8 {

Callers

nothing calls this directly

Calls 1

read_8Method · 0.45

Tested by

no test coverage detected