|  |  |  | GSF Reference Manual |  | 
|---|---|---|---|---|
            GsfInputGZip;
GsfInput*   gsf_input_gzip_new              (GsfInput *source,
                                             GError **err);
GsfInput*   gsf_input_memory_new_from_bzip  (GsfInput *source,
                                             GError **err);
            GsfOutputGZip;
GsfOutput*  gsf_output_gzip_new             (GsfOutput *sink,
                                             GError **err);
            GsfOutputBzip;
GsfOutput*  gsf_output_bzip_new             (GsfOutput *sink,
                                             GError **err);
GObject +----GsfInput +----GsfInputGZip
GObject +----GsfOutput +----GsfOutputGZip
GObject +----GsfOutput +----GsfOutputBzip
"raw" gboolean : Read / Write / Construct Only "source" GsfInput : Read / Write / Construct Only "uncompressed-size" gint64 : Read / Write / Construct Only "raw" gboolean : Read / Write / Construct Only "sink" GsfOutput : Read / Write / Construct Only
gzip and bzip2 are data compression algorithms and file formats that are in widespread use.
These routines handle both gzip and bzip2 compression and decompression.
GsfInput* gsf_input_gzip_new (GsfInput *source, GError **err);
Adds a reference to source.
| source: | The underlying data source. | 
| err: | optionally NULL. | 
| Returns : | a new file or NULL. | 
GsfInput* gsf_input_memory_new_from_bzip (GsfInput *source, GError **err);
| source: | a GsfInput | 
| err: | a GError | 
| Returns : | a new GsfInputMemory or NULL. | 
GsfOutput* gsf_output_gzip_new (GsfOutput *sink, GError **err);
Adds a reference to sink.
| sink: | The underlying data source. | 
| err: | optionally NULL. | 
| Returns : | a new file or NULL. | 
raw" property"raw" gboolean : Read / Write / Construct Only
Whether to read compressed data with no header and no trailer.
Default value: FALSE
source" property"source" GsfInput : Read / Write / Construct Only
Where the compressed data comes from.
uncompressed-size" property"uncompressed-size" gint64 : Read / Write / Construct Only
The source's uncompressed size.
Allowed values: >= -1
Default value: -1
raw" property"raw" gboolean : Read / Write / Construct Only
Whether to write compressed data with no header/tailer.
Default value: FALSE
sink" property"sink" GsfOutput : Read / Write / Construct Only
Where the compressed data is written.