Portability | portable |
---|---|
Stability | experimental |
Maintainer | Bryan O'Sullivan <bos@mailrank.com> |
This library provides fast, pure Haskell bindings to Google's Snappy compression and decompression library: http://code.google.com/p/snappy/
- compress :: ByteString -> ByteString
- decompress :: ByteString -> ByteString
Documentation
compress :: ByteString -> ByteStringSource
Compress data into the Snappy format.
decompress :: ByteString -> ByteStringSource
Decompress data in the Snappy format.
If the input is not compressed or is corrupt, an exception will be thrown.