View Source brotli (brotli v0.3.2)

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

-spec encode(Data :: iodata()) -> {ok, iodata()} | error.
Compress data in one step.
-spec 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
-spec max_compressed_size(non_neg_integer()) -> non_neg_integer().
Maximal possible size of the compressed data of size Size.
-spec version() -> {Major :: integer(), Minor :: integer(), Patch :: integer()}.

Return version of the underlying Brotli C implementation.

This is not version of the Erlang library.