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

Method read_32

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

Source from the content-addressed store, hash-verified

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))?
136 }
137
138 fn read_64(&self, base: u64, offset: u64) -> core::result::Result<[u8; 8], crate::Trap> {
139 self.try_with_inner(|inner| inner.read_64(base, offset))?

Callers

nothing calls this directly

Calls 1

try_with_innerMethod · 0.80

Tested by

no test coverage detected