![]() |
![]() |
![]() |
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
GsfInput* gsf_input_gzip_new (GsfInput *source, GError **err);
Adds a reference to source
.
|
The underlying data source. |
|
optionally NULL .
|
Returns : |
a new file or NULL .
|
GsfInput* gsf_input_memory_new_from_bzip (GsfInput *source, GError **err);
|
a GsfInput |
|
a GError |
Returns : |
a new GsfInputMemory or NULL .
|
GsfOutput* gsf_output_gzip_new (GsfOutput *sink, GError **err);
Adds a reference to sink
.
|
The underlying data source. |
|
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.