on_compressed_data Event
This event fires with compressed data.
Syntax
class ZipStreamCompressedDataEventParams(object): @property def data() -> bytes: ... # In class ZipStream: @property def on_compressed_data() -> Callable[[ZipStreamCompressedDataEventParams], None]: ... @on_compressed_data.setter def on_compressed_data(event_hook: Callable[[ZipStreamCompressedDataEventParams], None]) -> None: ...
Remarks
The on_compressed_data event fires as compressed data is available when compress_data or compress_block is called. This may fire one or more times when data is compressed.
Data holds the current block of compressed data.