IPWorks ZIP 2020 Python Edition

Questions / Feedback?

gzip_data Property

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

Syntax

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

gzip_data = property(None, set_gzip_data)

Default Value

""

Remarks

Normally you should set archive_file before invoking scan or extract. If you prefer to read the gzip file from memory you may set gzip_data instead. gzip_data should be set to the entire contents of the gzip 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 after invoking scan, you should set the value of file_decompressed_name to an empty string. Then, when you invoke extract (or extract_all) the data will be provided in the on_progress event.

This property is write-only. Note that modifying a gzip file stored in gzip_data is not supported, so append will throw exceptions.

This property is write-only.

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