(&mut self, consumed: usize)
| 105 | self.data1.get(..CHUNKSIZE).unwrap_or(self.data1) |
| 106 | } |
| 107 | pub fn advance(&mut self, consumed: usize) { |
| 108 | self.data1 = &self.data1[consumed..]; |
| 109 | if self.data1.is_empty() { |
| 110 | self.data1 = core::mem::take(&mut self.data2); |
| 111 | } |
| 112 | } |
| 113 | } |
| 114 | |
| 115 | pub fn _decompress<D: Decompressor>( |
no test coverage detected