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 decompressor.

Added in version 2.24.

Parameters:

format – the format to use for the compressed data

Methods#

class ZlibDecompressor
get_file_info() FileInfo | None#

Gets the file_info property.

Added in version 2.26.

Properties#

class ZlibDecompressor
props.file_info: FileInfo#

A FileInfo containing the information found in the gzip header of the data stream processed.

This will be NULL if the header was not yet fully processed, is not present at all, or the compressor’s format property is not GZIP.

Added in version 2.26.

props.format: ZlibCompressorFormat#

The format of the compressed data.

Added in version 2.24.