(
&mut self,
input: &[u8],
output: &mut Vec<u8>,
flush: Self::Flush,
vm: &VirtualMachine,
)
| 445 | const DEF_BUF_SIZE: usize = DEF_BUF_SIZE; |
| 446 | |
| 447 | fn compress_vec( |
| 448 | &mut self, |
| 449 | input: &[u8], |
| 450 | output: &mut Vec<u8>, |
| 451 | flush: Self::Flush, |
| 452 | vm: &VirtualMachine, |
| 453 | ) -> PyResult<Self::Status> { |
| 454 | self.compress |
| 455 | .compress_vec(input, output, flush) |
| 456 | .map_err(|_| new_zlib_error("error while compressing", vm)) |
| 457 | } |
| 458 | |
| 459 | fn total_in(&mut self) -> usize { |
| 460 | self.compress.total_in() as usize |
nothing calls this directly
no test coverage detected