Returns the raw image as bytes (in our internal image format).
(&self)
| 234 | |
| 235 | /// Returns the raw image as bytes (in our internal image format). |
| 236 | pub fn image(&self) -> &[u8] { |
| 237 | &self.original_code.mmap()[..] |
| 238 | } |
| 239 | |
| 240 | pub fn text(&self) -> &[u8] { |
| 241 | &self.original_code.text() |
no test coverage detected