Gio.ZlibDecompressor¶
| Subclasses: | None | 
|---|
Methods¶
| Inherited: | GObject.Object (37), Gio.Converter (2) | 
|---|---|
| Structs: | GObject.ObjectClass (5) | 
| class | new(format) | 
| get_file_info() | 
Virtual Methods¶
| Inherited: | GObject.Object (7), Gio.Converter (2) | 
|---|
Properties¶
| Name | Type | Flags | Short Description | 
|---|---|---|---|
| file-info | Gio.FileInfo | r | File info | 
| format | Gio.ZlibCompressorFormat | r/w/co | The format of the compressed data | 
Signals¶
| Inherited: | GObject.Object (1) | 
|---|
Fields¶
| Inherited: | GObject.Object (1) | 
|---|
Class Details¶
- 
class Gio.ZlibDecompressor(**kwargs)¶
- Bases: - GObject.Object,- Gio.Converter- Abstract: - No - Structure: - Gio.ZlibDecompressorClass- Zlib decompression - 
classmethod new(format)[source]¶
- Parameters: - format ( - Gio.ZlibCompressorFormat) – The format to use for the compressed data- Returns: - a new - Gio.ZlibDecompressor- Return type: - Gio.ZlibDecompressor- Creates a new - Gio.ZlibDecompressor.- New in version 2.24. 
 - 
get_file_info()[source]¶
- Returns: - a - Gio.FileInfo, or- None- Return type: - Gio.FileInfo- Retrieves the - Gio.FileInfoconstructed from the GZIP header data of compressed data processed by compressor, or- Noneif self’s- Gio.ZlibDecompressor- :formatproperty is not- Gio.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. 
 
- 
classmethod 
Property Details¶
- 
Gio.ZlibDecompressor.props.file_info¶
- Name: - file-info- Type: - Gio.FileInfo- Default Value: - None- Flags: - READABLE- A - Gio.FileInfocontaining the information found in the GZIP header of the data stream processed, or- Noneif the header was not yet fully processed, is not present at all, or the compressor’s- Gio.ZlibDecompressor- :formatproperty is not- Gio.ZlibCompressorFormat.GZIP.- New in version 2.26. 
- 
Gio.ZlibDecompressor.props.format¶
- Name: - format- Type: - Gio.ZlibCompressorFormat- Default Value: - Gio.ZlibCompressorFormat.ZLIB- Flags: - READABLE,- WRITABLE,- CONSTRUCT_ONLY- The format of the compressed data