Top |
Properties
gboolean | raw | Read / Write / Construct Only |
GsfInput * | source | Read / Write / Construct Only |
gint64 | uncompressed-size | Read / Write / Construct Only |
int | deflate-level | Read / Write |
gboolean | raw | Read / Write / Construct Only |
GsfOutput * | sink | Read / Write / Construct Only |
Object Hierarchy
GObject ├── GsfInput │ ╰── GsfInputGZip ╰── GsfOutput ├── GsfOutputBzip ╰── GsfOutputGZip
Functions
gsf_input_gzip_new ()
GsfInput * gsf_input_gzip_new (GsfInput *source
,GError **err
);
Adds a reference to source
.
gsf_input_memory_new_from_bzip ()
GsfInput * gsf_input_memory_new_from_bzip (GsfInput *source
,GError **err
);
gsf_output_gzip_new ()
GsfOutput * gsf_output_gzip_new (GsfOutput *sink
,GError **err
);
Adds a reference to sink
.
Property Details
The “raw”
property
“raw” gboolean
Whether to read compressed data with no header and no trailer.
Owner: GsfInputGZip
Flags: Read / Write / Construct Only
Default value: FALSE
The “source”
property
“source” GsfInput *
Where the compressed data comes from.
Owner: GsfInputGZip
Flags: Read / Write / Construct Only
The “uncompressed-size”
property
“uncompressed-size” gint64
The source's uncompressed size.
Owner: GsfInputGZip
Flags: Read / Write / Construct Only
Allowed values: >= -1
Default value: -1
The “deflate-level”
property
“deflate-level” int
The level of deflate compression used, zero meaning none and -1 meaning the zlib default.
Owner: GsfOutputGZip
Flags: Read / Write
Allowed values: [-1,9]
Default value: -1
The “raw”
property
“raw” gboolean
Whether to write compressed data with no header/tailer.
Owner: GsfOutputGZip
Flags: Read / Write / Construct Only
Default value: FALSE
The “sink”
property
“sink” GsfOutput *
Where the compressed data is written.
Owner: GsfOutputGZip
Flags: Read / Write / Construct Only