Return the size of RAM in bytes.
(&self)
| 34 | |
| 35 | /// Return the size of RAM in bytes. |
| 36 | pub fn size(&self) -> u64 { |
| 37 | self.size |
| 38 | } |
| 39 | |
| 40 | /// Peek at a byte without mutation (for debugging). |
| 41 | pub fn peek_byte(&self, addr: u64) -> Option<u8> { |
no outgoing calls
no test coverage detected