Return the current offset (in bytes).
(&self)
| 166 | |
| 167 | /// Return the current offset (in bytes). |
| 168 | pub fn cursor(&self) -> usize { self.ops.len() } |
| 169 | |
| 170 | /// Return the current virtual address. |
| 171 | pub fn cur_addr(&self) -> usize { self.base_addr() + self.cursor() } |