Skip to content

kafka4beam/snappyer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 Version Google/Snappy Version
1.1.3-1.0.x 1.1.3
1.2.0 1.1.3
1.2.7 1.1.8