Gio.ZlibDecompressor¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r |
|||
r/w/co |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Gio.ZlibDecompressor(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
GZlibDecompressor
is an implementation of [iface`Gio`.Converter] that decompresses data compressed with zlib.- classmethod new(format)[source]¶
- Parameters:
format (
Gio.ZlibCompressorFormat
) – The format to use for the compressed data- Returns:
a new
Gio.ZlibDecompressor
- Return type:
Creates a new
Gio.ZlibDecompressor
.New in version 2.24.
- get_file_info()[source]¶
- Returns:
a
Gio.FileInfo
, orNone
- Return type:
Gio.FileInfo
orNone
Retrieves the
Gio.FileInfo
constructed from the GZIP header data of compressed data processed by compressor, orNone
if self'sGio.ZlibDecompressor
:format
property is notGio.ZlibCompressorFormat.GZIP
, or the header data was not fully processed yet, or it not present in the data stream at all.New in version 2.26.
Property Details¶
- Gio.ZlibDecompressor.props.file_info¶
- Name:
file-info
- Type:
- Default Value:
- Flags:
A
Gio.FileInfo
containing the information found in the GZIP header of the data stream processed, orNone
if the header was not yet fully processed, is not present at all, or the compressor’sGio.ZlibDecompressor
:format
property is notGio.ZlibCompressorFormat.GZIP
.New in version 2.26.
- Gio.ZlibDecompressor.props.format¶
- Name:
format
- Type:
- Default Value:
- Flags:
The format of the compressed data.
New in version 2.24.