(offset: usize, length: usize)
| 77 | /// Creates a new IndexSpan with the given offset and length. |
| 78 | #[inline] |
| 79 | pub fn new(offset: usize, length: usize) -> Self { |
| 80 | Self { offset, length } |
| 81 | } |
| 82 | |
| 83 | /// Returns the range of bytes covered by this span. |
| 84 | /// |