GskZlibInflator

Name

GskZlibInflator -- a zlib decompressor

Synopsis



struct      GskZlibInflator;
GskStream*  gsk_zlib_inflator_new           (void);

Description

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

Details

struct GskZlibInflator

struct GskZlibInflator {

  GskStream      stream;
  gpointer       private_stream;
  GskBuffer      decompressed;
};

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.


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