fn r8(&mut self, offset: u32) -> MemResult<u8> {
        if offset & 0x3 != 0 {
            Err(MemException::Misaligned)
        } else {
            self.r32(offset).map(|v| v as u8)
        }
    }
/// Read a 8 bit value at a given offset
Read a 8 bit value at a given offset
Read a 8 bit value at a given offset
fn r8(&mut self, offset: u32) -> MemResult<u8> {
        if offset & 0x3 != 0 {
            Err(MemException::Misaligned)
        } else {
            self.r32(offset).map(|v| v as u8)
        }
    }
fn r8 ( & mut self , offset : u32 ) -> MemResult < u8 > { if offset & 0x3 != 0 { Err ( MemException :: Misaligned ) } else { self . r32 ( offset ) . map ( | v | v as u8 ) } }
Read a 8 bit value at a given offset
Read a 8 bit value at a given offset
&mut self
offset
u32
&mut self
offset
u32