module Codec.Compression.Zlib.Raw (
compress,
decompress,
DecompressError(..),
compressWith,
decompressWith,
CompressParams(..), defaultCompressParams,
DecompressParams(..), defaultDecompressParams,
CompressionLevel(..),
defaultCompression,
noCompression,
bestSpeed,
bestCompression,
compressionLevel,
Method,
deflateMethod,
WindowBits(..),
defaultWindowBits,
windowBits,
MemoryLevel(..),
defaultMemoryLevel,
minMemoryLevel,
maxMemoryLevel,
memoryLevel,
CompressionStrategy,
defaultStrategy,
filteredStrategy,
huffmanOnlyStrategy,
rleStrategy,
fixedStrategy,
) where
import Data.ByteString.Lazy (ByteString)
import qualified Codec.Compression.Zlib.Internal as Internal
import Codec.Compression.Zlib.Internal hiding (compress, decompress)
decompress :: ByteString -> ByteString
decompress :: ByteString -> ByteString
decompress = DecompressParams -> ByteString -> ByteString
decompressWith DecompressParams
defaultDecompressParams
decompressWith :: DecompressParams -> ByteString -> ByteString
decompressWith :: DecompressParams -> ByteString -> ByteString
decompressWith = Format -> DecompressParams -> ByteString -> ByteString
Internal.decompress Format
rawFormat
compress :: ByteString -> ByteString
compress :: ByteString -> ByteString
compress = CompressParams -> ByteString -> ByteString
compressWith CompressParams
defaultCompressParams
compressWith :: CompressParams -> ByteString -> ByteString
compressWith :: CompressParams -> ByteString -> ByteString
compressWith = Format -> CompressParams -> ByteString -> ByteString
Internal.compress Format
rawFormat