exomizer-1.0.0: Compression and decompression in the exomizer format

Safe HaskellNone
LanguageHaskell2010

Exomizer

Contents

Description

The functions of this module are identical to use the command line tool.

The modules Exomizer.Raw and Exomizer.Mem give more options.

Each function is listed with and without an underscore at the end. The variant with the underscore does not return the compression info but the compression result is identical.

Synopsis

Options & Info

coMaxLen :: CrunchOptions -> Int Source #

Since: 1.0.0

defaultCrunchOptions :: CrunchOptions Source #

Default compression parameters

Since: 1.0.0

data CrunchInfo Source #

Information about the compressed data (result of the compression)

Since: 1.0.0

Raw

exomizerRaw :: CrunchOptions -> ByteString -> (ByteString, CrunchInfo) Source #

Same as exomizer raw

Since: 1.0.0

exomizerRaw_ :: CrunchOptions -> ByteString -> ByteString Source #

Same as exomizer raw

Since: 1.0.0

exomizerRawBackwards :: CrunchOptions -> ByteString -> (ByteString, CrunchInfo) Source #

Same as exomizer raw -b

Since: 1.0.0

exomizerRawBackwards_ :: CrunchOptions -> ByteString -> ByteString Source #

Same as exomizer raw -b

Since: 1.0.0

exomizerRawReverse :: CrunchOptions -> ByteString -> (ByteString, CrunchInfo) Source #

Same as exomizer raw -r

Since: 1.0.0

exomizerRawReverse_ :: CrunchOptions -> ByteString -> ByteString Source #

Same as exomizer raw -r

Since: 1.0.0

exomizerRawBackwardsReverse :: CrunchOptions -> ByteString -> (ByteString, CrunchInfo) Source #

Same as exomizer raw -b -r

Since: 1.0.0

exomizerRawBackwardsReverse_ :: CrunchOptions -> ByteString -> ByteString Source #

Same as exomizer raw -b -r

Since: 1.0.0

Mem

exomizerMem :: CrunchOptions -> [(Int16, ByteString)] -> (ByteString, CrunchInfo) Source #

Same as exomizer mem -l none

Since: 1.0.0

exomizerMem_ :: CrunchOptions -> [(Int16, ByteString)] -> ByteString Source #

Same as exomizer mem -l none

Since: 1.0.0

exomizerMemForward :: CrunchOptions -> [(Int16, ByteString)] -> (ByteString, CrunchInfo) Source #

Same as exomizer mem -l none -f

Since: 1.0.0

exomizerMemForward_ :: CrunchOptions -> [(Int16, ByteString)] -> ByteString Source #

Same as exomizer mem -l none -f

Since: 1.0.0

Level

exomizerLevel_ :: CrunchOptions -> [(Int16, ByteString)] -> ByteString Source #

Same as exomizer level

Since: 1.0.0

exomizerLevelForward_ :: CrunchOptions -> [(Int16, ByteString)] -> ByteString Source #

Same as exomizer level -f

Since: 1.0.0