ContentsIndex
MissingPy.FileArchive.BZip2
Portability portable
Stability provisional
Maintainer jgoerzen@complete.org
Description

Support for BZip2 files

Written by John Goerzen, jgoerzen@complete.org

Synopsis
openBz2 :: FilePath -> IOMode -> Int -> IO PyFile
Documentation
openBz2
:: FilePathFile to open
-> IOModeMode to open with
-> IntCompression Level
-> IO PyFileResulting handle

Open a BZip2 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 MissingH.IO.HVIO can be used to work with it.

BZip2 supports only ReadMode and WriteMode for the IOMode.

Produced by Haddock version 0.6