Zstd binding for Erlang
This binding is based on zstd v1.5.7. In case you want to modify the zstd version you can change ZSTD_TAG from build_deps.sh
Plaintext= <<"contentcontentcontentcontent">>,
Compressed=ezstd:compress(Plaintext, 1),
Plaintext=ezstd:decompress(Compressed).Dict= <<"content-dict">>,
CDict=ezstd:create_cdict(Dict, 1),
DDict=ezstd:create_ddict(Dict),
Plaintext= <<"contentcontentcontentcontent">>,
ContentCompressed=ezstd:compress_using_cdict(Plaintext, CDict),
Plaintext=ezstd:decompress_using_ddict(ContentCompressed, DDict).rebar3 ct