brotli library

Classes

BrotliCodec
The BrotliCodec encodes raw bytes to Brotli compressed bytes and decodes Brotli compressed bytes to raw bytes.
BrotliDecoder
Converts Brotli compressed bytes to raw bytes.

Constants

brotli → const BrotliCodec
An instance of the default implementation of the BrotliCodec.
const BrotliCodec()

Functions

brotliDecode(List<int> data) List<int>
Parses the Brotli-encoded data and returns the decoded bytes. [...]

Exceptions / Errors

BrotliException
This exception is thrown when an error occurs during Brotli encoding or decoding.