## Compression

Compression —

## Synopsis

    struct      GsfInputGZip;
    GsfInput*   gsf_input_gzip_new              (GsfInput *source,
                                                 GError **err);
    GsfInput*   gsf_input_memory_new_from_bzip  (GsfInput *source,
                                                 GError **err);
    struct      GsfOutputGZip;
    GsfOutput*  gsf_output_gzip_new             (GsfOutput *sink,
                                                 GError **err);
    struct      GsfOutputBzip;
    GsfOutput*  gsf_output_bzip_new             (GsfOutput *sink,
                                                 GError **err);

## Object Hierarchy

      GObject
       +----GsfInput
             +----GsfInputGZip

      GObject
       +----GsfOutput
             +----GsfOutputBzip

## Description

## Details

### struct GsfInputGZip

    struct GsfInputGZip;

### gsf_input_gzip_new ()

    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.

### gsf_input_memory_new_from_bzip ()

    GsfInput*   gsf_input_memory_new_from_bzip  (GsfInput *source,
                                                 GError **err);

`source` : | a GsfInput
`err` : | a GError
Returns : | a new GsfInputMemory or NULL.

### struct GsfOutputGZip

    struct GsfOutputGZip;

### gsf_output_gzip_new ()

    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.

### struct GsfOutputBzip

    struct GsfOutputBzip;

### gsf_output_bzip_new ()

    GsfOutput*  gsf_output_bzip_new             (GsfOutput *sink,
                                                 GError **err);

Adds a reference to `sink`.

`sink` : | The underlying data source.
`err` : | optionally NULL.
Returns : | a new file or NULL.