Maintainer | John Goerzen, |
---|---|
Safe Haskell | None |
Maintainer : jgoerzen@complete.org Stability : provisional Portability: portable
Support for BZip2 files
Written by John Goerzen, jgoerzen@complete.org
Documentation
:: FilePath | File to open |
-> IOMode | Mode to open with |
-> Int | Compression Level |
-> IO PyFile | Resulting 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 System.IO.HVIO can be used to work with it.
BZip2 supports only ReadMode and WriteMode for the IOMode.