GSF Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
Synopsis
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
);
Object Hierarchy
GObject +----GsfInput +----GsfInputGZip
GObject +----GsfOutput +----GsfOutputGZip
GObject +----GsfOutput +----GsfOutputBzip
Properties
"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
Details
gsf_input_gzip_new ()
GsfInput * gsf_input_gzip_new (GsfInput *source
,GError **err
);
Adds a reference to source
.
|
The underlying data source. |
|
place to store a GError if anything goes wrong. [allow-none] |
Returns : |
a new file or NULL . |
gsf_input_memory_new_from_bzip ()
GsfInput * gsf_input_memory_new_from_bzip (GsfInput *source
,GError **err
);
|
a GsfInput |
|
place to store a GError if anything goes wrong. [allow-none] |
Returns : |
a new GsfInputMemory or NULL . |
gsf_output_gzip_new ()
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 . |
Property Details
The "raw"
property
"raw" gboolean : Read / Write / Construct Only
Whether to read compressed data with no header and no trailer.
Default value: FALSE
The "source"
property
"source" GsfInput* : Read / Write / Construct Only
Where the compressed data comes from.
The "uncompressed-size"
property
"uncompressed-size" gint64 : Read / Write / Construct Only
The source's uncompressed size.
Allowed values: >= -1
Default value: -1
The "raw"
property
"raw" gboolean : Read / Write / Construct Only
Whether to write compressed data with no header/tailer.
Default value: FALSE
The "sink"
property
"sink" GsfOutput* : Read / Write / Construct Only
Where the compressed data is written.