brotli library

Brotli encoder and decoder using a fast FFI-based implementation.

To use this library in your code:

import 'package:es_compression/brotli.dart';

Classes

BrotliCodec
The BrotliCodec encodes/decodes raw bytes using the Brotli algorithm
BrotliDecoder
The BrotliDecoder decoder is used to decompress brotli data.
BrotliEncoder
The BrotliEncoder encoder is used to brotli compress data.
BrotliOption
Exposes Brotli options for input parameters.
BrotliVersion
Helper class to decode the version number returned from the brotli FFI library.

Constants

brotli → const BrotliCodec
An instance of the default implementation of the BrotliCodec.
brotliDecoderInputBufferLength → const int
Default input buffer length.
brotliDecoderOutputBufferLength → const int
Default output buffer length.
brotliEncoderInputBufferLength → const int
Default input buffer length.
brotliEncoderOutputBufferLength → const int
Default output buffer length.