Class

GioZlibDecompressor

Description [src]

final class Gio.ZlibDecompressor : GObject.Object {
  /* No available fields */
}

GZlibDecompressor is an implementation of GConverter that decompresses data compressed with zlib.

Hierarchy

hierarchy this GZlibDecompressor implements_0 GConverter this--implements_0 ancestor_0 GObject ancestor_0--this

Ancestors

Implements

Constructors

g_zlib_decompressor_new

Creates a new GZlibDecompressor.

Available since: 2.24

Instance methods

g_zlib_decompressor_get_file_info

Retrieves the GFileInfo constructed from the GZIP header data of compressed data processed by compressor, or NULL if decompressors GZlibDecompressor:format property is not G_ZLIB_COMPRESSOR_FORMAT_GZIP, or the header data was not fully processed yet, or it not present in the data stream at all.

Available since: 2.26

Methods inherited from GObject (43)
Methods inherited from GConverter (2)
g_converter_convert

This is the main operation used when converting data. It is to be called multiple times in a loop, and each time it will do some work, i.e. producing some output (in outbuf) or consuming some input (from inbuf) or both. If its not possible to do any work an error is returned.

Available since: 2.24

g_converter_reset

Resets all internal state in the converter, making it behave as if it was just created. If the converter has any internal state that would produce output then that output is lost.

Available since: 2.24

Properties

Gio.ZlibDecompressor:file-info

A GFileInfo containing the information found in the GZIP header of the data stream processed, or NULL if the header was not yet fully processed, is not present at all, or the compressor’s GZlibDecompressor:format property is not G_ZLIB_COMPRESSOR_FORMAT_GZIP.

Available since: 2.26

Gio.ZlibDecompressor:format
No description available.

Signals

Signals inherited from GObject (1)

Class structure

struct GioZlibDecompressorClass {
  GObjectClass parent_class;
  
}
Class members
parent_class
GObjectClass
  No description available.