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.ConverterAbstract: No Structure: Gio.ZlibDecompressorClassZlib decompression
-
classmethod
new(format)[source]¶ Parameters: format ( Gio.ZlibCompressorFormat) – The format to use for the compressed dataReturns: a new Gio.ZlibDecompressorReturn type: Gio.ZlibDecompressorCreates a new
Gio.ZlibDecompressor.New in version 2.24.
-
get_file_info()[source]¶ Returns: a Gio.FileInfo, orNoneReturn type: Gio.FileInfoRetrieves the
Gio.FileInfoconstructed from the GZIP header data of compressed data processed by compressor, orNoneif self’sGio.ZlibDecompressor:formatproperty 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.
-
classmethod
Property Details¶
-
Gio.ZlibDecompressor.props.file_info¶ Name: file-infoType: Gio.FileInfoDefault Value: NoneFlags: READABLEA
Gio.FileInfocontaining the information found in the GZIP header of the data stream processed, orNoneif the header was not yet fully processed, is not present at all, or the compressor’sGio.ZlibDecompressor:formatproperty is notGio.ZlibCompressorFormat.GZIP.New in version 2.26.
-
Gio.ZlibDecompressor.props.format¶ Name: formatType: Gio.ZlibCompressorFormatDefault Value: Gio.ZlibCompressorFormat.ZLIBFlags: READABLE,WRITABLE,CONSTRUCT_ONLYThe format of the compressed data