zstd-0.1.0.0: Haskell bindings to the Zstandard compression algorithm

Copyright(c) 2016-present Facebook Inc. All rights reserved.
LicenseBSD3
Maintainerbryano@fb.com
Stabilityexperimental
PortabilityGHC
Safe HaskellSafe
LanguageHaskell2010

Codec.Compression.Zstd.Types

Description

Types supporting zstd compression and decompression.

Synopsis

Documentation

data Decompress #

The result of a decompression operation.

Constructors

Skip

Either the compressed frame was empty, or it was compressed in streaming mode and so its size is not known.

Error String

An error occurred.

Decompress ByteString

The payload was successfully decompressed.

newtype Dict #

Compression dictionary.

Constructors

Dict 

Fields

Instances

Eq Dict # 

Methods

(==) :: Dict -> Dict -> Bool #

(/=) :: Dict -> Dict -> Bool #

Ord Dict # 

Methods

compare :: Dict -> Dict -> Ordering #

(<) :: Dict -> Dict -> Bool #

(<=) :: Dict -> Dict -> Bool #

(>) :: Dict -> Dict -> Bool #

(>=) :: Dict -> Dict -> Bool #

max :: Dict -> Dict -> Dict #

min :: Dict -> Dict -> Dict #

Read Dict # 
Show Dict # 

Methods

showsPrec :: Int -> Dict -> ShowS #

show :: Dict -> String #

showList :: [Dict] -> ShowS #

NFData Dict # 

Methods

rnf :: Dict -> () #

mkDict :: ByteString -> Dict #

Smart constructor.