biohazard-1.1.0: bioinformatics support library

Safe HaskellNone
LanguageHaskell2010

Bio.Util.Zlib

Synopsis

Documentation

decompressGzip :: ByteString -> ByteString Source #

Decompresses Gzip or Bgzf and passes everything else on. In reality, it simply decompresses Gzip, and when done, looks for another Gzip stream. Since there is a small chance to attempt decompression of an uncompressed stream, the original data is returned in case of an error.