lz4 library Null safety

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

To use this library in your code:

import 'package:es_compression/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 by Lz4Codec to decompress lz4 data.
Lz4Encoder
The Lz4Encoder encoder is used by Lz4Codec 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.
const Lz4Codec._default()
lz4DecoderInputBufferLength → const int
Default input buffer length.
256 * 1024
lz4DecoderOutputBufferLength → const int
Default output buffer length.
lz4DecoderInputBufferLength * 2
lz4EncoderInputBufferLength → const int
Default input buffer length.
256 * 1024
lz4EncoderOutputBufferLength → const int
Default output buffer length.
lz4EncoderInputBufferLength