Create  Edit  FrontPage  Index  Search  Changes  History  RSS  Login

GLib::ZlibDecompressor

class GLib::ZlibDecompressor

GLib::ZlibDecompressor is an implementation of GLib::Converter that decompresses data compressed with zlib.

Instance Methods

convert(input, flags = GLib::Converter::NO_FLAGS)
See GLib::Converter#convert.
file_info

Gets the GLib::FileInfo constructed from the GZIP header data of compressed data processed by this decompressor, or nil if this decompressor’s format isn’t GLib::ZlibDecompressor::FORMAT_GZIP, or the header data hasn’t been fully processed yet, or no such data is present.

Since 2.26

format
Gets the GLib::ZlibCompressor::Format of the compressed data.
reset
See GLib::Converter#reset.

Properties

file-info: GLib::FileInfo (Read)

Gets the GLib::FileInfo constructed from the GZIP header data of compressed data processed by this decompressor, or nil if this decompressor’s format isn’t GLib::ZlibDecompressor::FORMAT_GZIP, or the header data hasn’t been fully processed yet, or no such data is present.

Since 2.26

format: GLib::ZlibCompressor::Format (Read/Write)

The format of the compressed data

Default value: GLib::ZlibCompressor::FORMAT_ZLIB

Last modified:2010/12/27 21:59:23
Keyword(s):
References:[index-ruby-glib2] [index-ruby-gio2] [GLib::ZlibDecompressor] [Ruby/GIO]