Haskell library for compressing / decompressing snappy encoded data.
This package is much the same as the existing
snappy package on Hackage.
The main difference being that it includes the whole Snappy C++ library
so that it does not need to be install via brew
or similar.
Because of the way Snappy is used in the Hadoop ecosystem (i.e. small
length prefixed blocks) we don't have a need for anything fancier than
functions over a strict ByteString
.
compress :: Strict.ByteString -> Strict.ByteString
decompress :: Strict.ByteString -> Maybe Strict.ByteString