MissingPy-0.10.4: Haskell interface to Python

MaintainerJohn Goerzen,

MissingPy.FileArchive.GZip

Description

Maintainer : jgoerzen@complete.org Stability : provisional Portability: portable

Support for GZip files

Written by John Goerzen, jgoerzen@complete.org

Synopsis

Documentation

openGzSource

Arguments

:: FilePath

File to open

-> IOMode

Mode to open with

-> Int

Compression Level

-> IO PyFile

Resulting handle

Open a GZip file. The compression level should be from 1 (least compression) to 9 (most compression). This is ignored when the file is opened read-only.

Once opened, the functions defined in System.IO.HVIO can be used to work with it.