(self, data: bytes)
| 93 | self.decompressor = zlib.decompressobj(zlib.MAX_WBITS | 16) |
| 94 | |
| 95 | def decode(self, data: bytes) -> bytes: |
| 96 | try: |
| 97 | return self.decompressor.decompress(data) |
| 98 | except zlib.error as exc: |
| 99 | raise DecodingError(str(exc)) from exc |
| 100 | |
| 101 | def flush(self) -> bytes: |
| 102 | try: |