Copyright | (c) 2016-present Facebook Inc. All rights reserved. |
---|---|
License | BSD3 |
Maintainer | bryano@fb.com |
Stability | experimental |
Portability | GHC |
Safe Haskell | Safe |
Language | Haskell2010 |
Types supporting zstd compression and decompression.
Synopsis
- data Decompress
- newtype Dict = Dict {}
- mkDict :: ByteString -> Dict
Documentation
data Decompress Source #
The result of a decompression operation.
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. |
Instances
Eq Decompress Source # | |
Defined in Codec.Compression.Zstd.Types (==) :: Decompress -> Decompress -> Bool # (/=) :: Decompress -> Decompress -> Bool # | |
Read Decompress Source # | |
Defined in Codec.Compression.Zstd.Types readsPrec :: Int -> ReadS Decompress # readList :: ReadS [Decompress] # readPrec :: ReadPrec Decompress # readListPrec :: ReadPrec [Decompress] # | |
Show Decompress Source # | |
Defined in Codec.Compression.Zstd.Types showsPrec :: Int -> Decompress -> ShowS # show :: Decompress -> String # showList :: [Decompress] -> ShowS # |
Compression dictionary.
mkDict :: ByteString -> Dict Source #
Smart constructor.