## GskZlibInflator

GskZlibInflator — a zlib decompressor

## Synopsis

                        GskZlibInflator;
    GskStream *         gsk_zlib_inflator_new               (void);

## Description

A stream which decompresses data on its input to decompressed data on its output.

## Details

### GskZlibInflator

    typedef struct {
      GskStream      stream;
      gpointer       private_stream;
      GskBuffer      decompressed;
      gboolean       use_gzip;
    } GskZlibInflator;

The instance of a zlib inflator stream (a decompressor). One writes deflated input to it, and then raw (decompressed) data can be read from it.

GskStream `stream`; | parent instance.
gpointer `private_stream`; | private zlib object.
GskBuffer `decompressed`; | buffer of decompressed data.
gboolean `use_gzip`; |

### gsk_zlib_inflator_new ()

    GskStream *         gsk_zlib_inflator_new               (void);

Create a new zlib inflator: this takes deflated (compressed) input which is written into it, and uncompressed data can be read from it.

Returns : | the newly allocated stream.

## See Also

GskZlibDeflator