zstd library

Zstd (Zstandard) encoder and decoder using a fast FFI-based implementation.

To use this library in your code:

import 'package:es_compression_silicon_support/zstd.dart';

Classes

ZstdCodec
The ZstdCodec encodes/decodes raw bytes using the Zstd (ZStandard) algorithm.
ZstdDecoder
The ZstdDecoder decoder is used to decompress zstd data.
ZstdEncoder
The ZstdEncoder encoder is used to zstd compress data.
ZstdOption
Exposes Zstd options for input parameters.
ZstdVersion
Helper class to decode the version number returned from the zstd FFI library.

Constants

zstd → const ZstdCodec
An instance of the default implementation of the ZstdCodec.
zstdDecoderInputBufferLength → const int
ZSTD_BLOCKSIZE_MAX + ZSTD_blockHeaderSize.
zstdDecoderOutputBufferLength → const int
Default output buffer length.
zstdEncoderInputBufferLength → const int
Default input buffer length.
zstdEncoderOutputBufferLength → const int
Default output buffer length.