ZlibDecompressor#

class ZlibDecompressor(**properties: Any)#

Superclasses: Object

Implemented Interfaces: Converter

GZlibDecompressor is an implementation of Converter that decompresses data compressed with zlib.

Constructors#

class ZlibDecompressor
classmethod new(format: ZlibCompressorFormat) ZlibDecompressor#

Creates a new ZlibDecompressor.

Added in version 2.24.

Parameters:

format – The format to use for the compressed data

Methods#

class ZlibDecompressor
get_file_info() FileInfo | None#

Retrieves the FileInfo constructed from the GZIP header data of compressed data processed by compressor, or None if decompressor's ZlibDecompressor:format property is not GZIP, or the header data was not fully processed yet, or it not present in the data stream at all.

Added in version 2.26.

Properties#

class ZlibDecompressor
props.file_info: FileInfo#

The type of the None singleton.

Added in version 2.26.

props.format: ZlibCompressorFormat#

The type of the None singleton.

Added in version 2.24.