Home

Awesome

Snappy as nif for Erlang

Acknowledgements

Snappy source code forked from: https://github.com/google/snappy

Erlang nif support copied from: https://github.com/fdmanana/snappy-erlang-nif

Usage examples

1> {ok, Bin} = snappyer:compress("abc").
{ok,<<3,8,97,98,99>>}
2> {ok, <<"abc">>} = snappyer:decompress(Bin).
{ok,<<"abc">>}

Compilation

make compile

Tests

make tests

Versioning

Snappyer VersionGoogle/Snappy Version
1.1.3-1.0.x1.1.3
1.2.01.1.3
1.2.71.1.8