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

Method read_word

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

Source from the content-addressed store, hash-verified

331 }
332
333 fn write_byte(&mut self, addr: u64, data: u8) -> Result<(), VmError> {
334 self.write_n(addr, data as u64, 1)
335 }
336
337 fn write_halfword(&mut self, addr: u64, data: u16) -> Result<(), VmError> {
338 self.write_n(addr, data as u64, 2)

Callers

nothing calls this directly

Calls 1

read_nMethod · 0.80

Tested by

no test coverage detected