(&self, source: &'a [u8])
| 257 | /// Panics if the chunk's range exceeds the source buffer length. |
| 258 | #[inline] |
| 259 | pub fn data<'a>(&self, source: &'a [u8]) -> &'a [u8] { |
| 260 | &source[self.offset..self.end()] |
| 261 | } |
| 262 | } |
| 263 | |
| 264 | impl fmt::Display for ContentChunk { |