(&self, start: usize, end: usize)
| 436 | } |
| 437 | |
| 438 | pub fn new_cursor(&self, start: usize, end: usize) -> VersionedCursor<'a> { |
| 439 | VersionedCursor { |
| 440 | version: self.version, |
| 441 | cursor: Cursor::new(&self.binary[start..end]), |
| 442 | } |
| 443 | } |
| 444 | |
| 445 | pub fn slice(&self, start: usize, end: usize) -> &'a [u8] { |
| 446 | &self.binary[start..end] |
no outgoing calls
no test coverage detected