View Source ezstd (ezstd v1.0.4)

Zstd [1] binding for Erlang.

[1]: http://facebook.github.io/zstd

Link to this section Summary

Functions

Compresses the given binary.
Compresses the given binary with compression level.
Decompresses the given binary.

Link to this section Functions

-spec compress(binary()) -> binary() | {error, any()}.
Compresses the given binary.
Link to this function

compress(Binary, CompressionLevel)

View Source
-spec compress(binary(), integer()) -> binary() | {error, any()}.
Compresses the given binary with compression level.
-spec decompress(binary()) -> binary() | {error, any()}.
Decompresses the given binary.