gi-gio-2.0.14: Gio bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gio.Objects.ZlibDecompressor

Contents

Description

Zlib decompression

Synopsis

Exported types

Methods

getFileInfo

zlibDecompressorGetFileInfo Source #

Arguments

:: (HasCallStack, MonadIO m, IsZlibDecompressor a) 
=> a

decompressor: a ZlibDecompressor

-> m FileInfo

Returns: a FileInfo, or Nothing

Retrieves the FileInfo constructed from the GZIP header data of compressed data processed by compressor, or Nothing if decompressor's ZlibDecompressor:format property is not ZlibCompressorFormatGzip, or the header data was not fully processed yet, or it not present in the data stream at all.

Since: 2.26

new

zlibDecompressorNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> ZlibCompressorFormat

format: The format to use for the compressed data

-> m ZlibDecompressor

Returns: a new ZlibDecompressor

Creates a new ZlibDecompressor.

Since: 2.24

Properties

fileInfo

format