ZlibDecompressor#
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
FileInfoconstructed from the GZIP header data of compressed data processed bycompressor, orNoneifdecompressor'sZlibDecompressor:format property is notGZIP, 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.format: ZlibCompressorFormat#
The type of the None singleton.
Added in version 2.24.