lz4 library

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

To use this library in your code:

import 'package:es_compression_silicon_support/lz4.dart';

Classes

Lz4Codec
The Lz4Codec encodes raw bytes to Lz4 compressed bytes and decodes Lz4 compressed bytes to raw bytes using the Lz4 frame format.
Lz4Decoder
The Lz4Decoder decoder is used to decompress lz4 data.
Lz4Encoder
The Lz4Encoder encoder is used to lz4 compress data.
Lz4Option
Exposes Lz4 options for input parameters.
Lz4Version
Helper class to decode the version number returned from the lz4 FFI library.

Constants

lz4 → const Lz4Codec
An instance of the default implementation of the Lz4Codec.
lz4DecoderInputBufferLength → const int
Default input buffer length.
lz4DecoderOutputBufferLength → const int
Default output buffer length.
lz4EncoderInputBufferLength → const int
Default input buffer length.
lz4EncoderOutputBufferLength → const int
Default output buffer length.