brotli (brotli v0.3.1) View Source

Link to this section Summary

Functions

Compress data in one step.
Compress data in one step with custom options.
Maximal possible size of the compressed data of size Size.

Return version of the underlying Brotli C implementation.

Link to this section Functions

Specs

encode(Data :: iodata()) -> {ok, iodata()} | error.
Compress data in one step.

Specs

encode(Data :: iodata(), Opts :: brotli_encoder:options()) -> {ok, iodata()} | error.
Compress data in one step with custom options.
Link to this function

max_compressed_size(Size)

View Source

Specs

max_compressed_size(non_neg_integer()) -> non_neg_integer().
Maximal possible size of the compressed data of size Size.

Specs

version() -> {Major :: integer(), Minor :: integer(), Patch :: integer()}.

Return version of the underlying Brotli C implementation.

This is not version of the Erlang library.