Module ezstd

Zstd [1] binding for Erlang.

Description

Zstd [1] binding for Erlang.

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

Function Index

compress/1Compresses the given binary.
compress/2Compresses the given binary with compression level.
compress_using_cdict/2
create_cdict/2
create_ddict/1
decompress/1Decompresses the given binary.
decompress_using_ddict/2
get_dict_id_from_cdict/1
get_dict_id_from_ddict/1
get_dict_id_from_frame/1

Function Details

compress/1

compress(Binary::binary()) -> binary() | {error, any()}

Compresses the given binary.

compress/2

compress(Binary::binary(), CompressionLevel::integer()) -> binary() | {error, any()}

Compresses the given binary with compression level.

compress_using_cdict/2

compress_using_cdict(Binary::binary(), CCDict::reference()) -> binary() | {error, any()}

create_cdict/2

create_cdict(Binary::binary(), CompressionLevel::integer()) -> reference() | {error, any()}

create_ddict/1

create_ddict(Binary::binary()) -> reference() | {error, any()}

decompress/1

decompress(Binary::binary()) -> binary() | {error, any()}

Decompresses the given binary.

decompress_using_ddict/2

decompress_using_ddict(Binary::binary(), DDict::reference()) -> binary() | {error, any()}

get_dict_id_from_cdict/1

get_dict_id_from_cdict(CDict::reference()) -> integer()

get_dict_id_from_ddict/1

get_dict_id_from_ddict(DDict::reference()) -> integer()

get_dict_id_from_frame/1

get_dict_id_from_frame(Binary::binary()) -> integer()


Generated by EDoc