IPWorks ZIP 2020 Python Edition

Questions / Feedback?

on_decompressed_data Event

This event fires with decompressed data.

Syntax

class ZipStreamDecompressedDataEventParams(object):
  @property
  def data() -> bytes: ...

# In class ZipStream:
@property
def on_decompressed_data() -> Callable[[ZipStreamDecompressedDataEventParams], None]: ...
@on_decompressed_data.setter
def on_decompressed_data(event_hook: Callable[[ZipStreamDecompressedDataEventParams], None]) -> None: ...

Remarks

The on_decompressed_data event fires as compressed data is available when decompress_data or decompress_block is called. This may fire one or more times as data is decompressed.

Data holds the current block of decompressed data.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks ZIP 2020 Python Edition - Version 20.0 [Build 8300]