IPWorks ZIP 2020 Python Edition

Questions / Feedback?

z_compress_data Property

(Decompression only) The LZC compressed file contents as a byte array.


def set_z_compress_data(value: bytes) -> None: ...

z_compress_data = property(None, set_z_compress_data)

Default Value



Normally you should set archive_file before invoking extract. If you prefer to read the LZC compressed file from memory you may set z_compress_data instead. z_compress_data should be set to the entire contents of the LZC compressed file; this will allow you to read from the archive without writing any temporary files to disk.

If you would like to extract data from the archive without ever writing to disk you should also set WriteToProgressEvent to true, and you should set the value of file_decompressed_name to an empty string. Then, when you invoke extract the data will be provided in the on_progress event.

This property is write-only. Note that modifying a LZC compressed file stored in z_compress_data is not supported.

This property is write-only.

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