Class: Gio::ZlibDecompressor

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

Constructor Details

#initialize(format) ⇒ Gio::ZlibDecompressor

Creates a new decompressor.

Parameters:

Instance Method Details

#file_info ⇒ Gio::FileInfo

A [classGio.FileInfo] containing the information found in the gzip header
of the data stream processed.

This will be NULL if the header was not yet fully processed, is not
present at all, or the compressor’s [propertyGio.ZlibDecompressor:format]
property is not [enumGio.ZlibCompressorFormat.GZIP].

Returns:

#file_info=(file_info) ⇒ Gio::FileInfo

A [classGio.FileInfo] containing the information found in the gzip header
of the data stream processed.

This will be NULL if the header was not yet fully processed, is not
present at all, or the compressor’s [propertyGio.ZlibDecompressor:format]
property is not [enumGio.ZlibCompressorFormat.GZIP].

Parameters:

Returns:

#format ⇒ Gio::ZlibCompressorFormat

The format of the compressed data.

Returns:

#format=(format) ⇒ Gio::ZlibCompressorFormat

The format of the compressed data.

Parameters:

Returns: