IPWorks ZIP 2020 Python Edition

Questions / Feedback?

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.

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