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 by BrotliCodec to decompress brotli data.
BrotliEncoder
The BrotliEncoder encoder is used by BrotliCodec 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.
const BrotliCodec._default()
brotliDecoderInputBufferLength → const int
Default input buffer length.
64 * 1024
brotliDecoderOutputBufferLength → const int
Default output buffer length.
brotliDecoderInputBufferLength
brotliEncoderInputBufferLength → const int
Default input buffer length.
64 * 1024
brotliEncoderOutputBufferLength → const int
Default output buffer length.
brotliEncoderInputBufferLength