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:
GZlibDecompressoris 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 [class`Gio`.ZlibDecompressor]
- Return type:
Creates a new decompressor.
New in version 2.24.
- get_file_info()[source]¶
- Returns:
file info from the gzip header, if available
- Return type:
Gio.FileInfoorNone
Gets the [property`Gio`.ZlibDecompressor:file-info] property.
New in version 2.26.
Property Details¶
- Gio.ZlibDecompressor.props.file_info¶
- Name:
file-info- Type:
- Default Value:
- Flags:
A [class`Gio`.FileInfo] containing the information found in the gzip header of the data stream processed.
This will be
NULLif the header was not yet fully processed, is not present at all, or the compressor’s [property`Gio`.ZlibDecompressor:format] property is not [enum`Gio`.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.