Skip to content

icicle-lang/snapper

Repository files navigation

Snapper

Haskell library for compressing / decompressing snappy encoded data.

Build Status

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.

API

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

About

Compress and decompress snappy encoded data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published