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.
-spec encode(Data :: iodata(), Opts :: brotli_encoder:options()) -> {ok, iodata()} | error.
-spec max_compressed_size(non_neg_integer()) -> non_neg_integer().
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.