MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / read_byte

Method read_byte

crates/virtual-machine/src/memory/cache.rs:325–327  ·  view source on GitHub ↗
(&mut self, addr: u64)

Source from the content-addressed store, hash-verified

323 }
324
325 fn read_word(&mut self, addr: u64) -> Result<u32, VmError> {
326 self.read_n(addr, 4).map(|v| v as u32)
327 }
328
329 fn read_doubleword(&mut self, addr: u64) -> Result<u64, VmError> {
330 self.read_n(addr, 8)

Callers 1

resolve_lineMethod · 0.45

Calls 1

read_nMethod · 0.80

Tested by

no test coverage detected