:right-sidebar: True ZlibDecompressor =================================================================== .. currentmodule:: gi.repository.Gio .. class:: ZlibDecompressor(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.GObject.Object` Implemented Interfaces: :class:`~gi.repository.Gio.Converter` ``GZlibDecompressor`` is an implementation of :obj:`~gi.repository.Gio.Converter` that decompresses data compressed with zlib. Constructors ------------ .. rst-class:: interim-class .. class:: ZlibDecompressor :no-index: .. classmethod:: new(format: ~gi.repository.Gio.ZlibCompressorFormat) -> ~gi.repository.Gio.ZlibDecompressor Creates a new :obj:`~gi.repository.Gio.ZlibDecompressor`\. .. versionadded:: 2.24 :param format: The format to use for the compressed data Methods ------- .. rst-class:: interim-class .. class:: ZlibDecompressor :no-index: .. method:: get_file_info() -> ~gi.repository.Gio.FileInfo | None Retrieves the :obj:`~gi.repository.Gio.FileInfo` constructed from the GZIP header data of compressed data processed by ``compressor``\, or :const:`None` if ``decompressor``\'s :obj:`~gi.repository.Gio.ZlibDecompressor`\:format property is not :const:`~gi.repository.Gio.ZlibCompressorFormat.GZIP`, or the header data was not fully processed yet, or it not present in the data stream at all. .. versionadded:: 2.26 Properties ---------- .. rst-class:: interim-class .. class:: ZlibDecompressor :no-index: .. attribute:: props.file_info :type: ~gi.repository.Gio.FileInfo The type of the None singleton. .. versionadded:: 2.26 .. attribute:: props.format :type: ~gi.repository.Gio.ZlibCompressorFormat The type of the None singleton. .. versionadded:: 2.24