GZlibDecompressor
GZlibDecompressor — Zlib decompressor
|
|
Object Hierarchy
GObject
╰── GZlibDecompressor
Implemented Interfaces
GZlibDecompressor implements
GConverter.
Includes
#include <gio/gio.h>
Functions
g_zlib_decompressor_get_file_info ()
GFileInfo *
g_zlib_decompressor_get_file_info (GZlibDecompressor *decompressor);
Retrieves the GFileInfo constructed from the GZIP header data
of compressed data processed by compressor
, or NULL if decompressor
's
“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.
Returns
a GFileInfo, or NULL.
[transfer none]
Since: 2.26
Types and Values
GZlibDecompressor
typedef struct _GZlibDecompressor GZlibDecompressor;
Zlib decompression
Property Details
The “file-info” property
“file-info” GFileInfo *
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
“format” property is not G_ZLIB_COMPRESSOR_FORMAT_GZIP.
Owner: GZlibDecompressor
Flags: Read
Since: 2.26
The “format” property
“format” GZlibCompressorFormat
The format of the compressed data.
Owner: GZlibDecompressor
Flags: Read / Write / Construct Only
Default value: G_ZLIB_COMPRESSOR_FORMAT_ZLIB