hs-zstd-0.1.1.1: 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 Source #

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 Source #

Compression dictionary.

Constructors

Dict 

Fields

Instances
Eq Dict Source # 
Instance details

Defined in Codec.Compression.Zstd.Types

Methods

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

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

Ord Dict Source # 
Instance details

Defined in Codec.Compression.Zstd.Types

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 Source # 
Instance details

Defined in Codec.Compression.Zstd.Types

Show Dict Source # 
Instance details

Defined in Codec.Compression.Zstd.Types

Methods

showsPrec :: Int -> Dict -> ShowS #

show :: Dict -> String #

showList :: [Dict] -> ShowS #

NFData Dict Source # 
Instance details

Defined in Codec.Compression.Zstd.Types

Methods

rnf :: Dict -> () #

mkDict :: ByteString -> Dict Source #

Smart constructor.