zstd library Null safety

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

To use this library in your code:

import 'package:es_compression/zstd.dart';

Classes

ZstdCodec
The ZstdCodec encodes/decodes raw bytes using the Zstd (ZStandard) algorithm.
ZstdDecoder
The ZstdDecoder decoder is used by ZstdCodec to decompress zstd data.
ZstdEncoder
The ZstdEncoder encoder is used by ZstdCodec 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.
const ZstdCodec._default()
zstdDecoderInputBufferLength → const int
ZSTD_BLOCKSIZE_MAX + ZSTD_blockHeaderSize.
ZstdConstants.ZSTD_BLOCKSIZE_MAX + 3
zstdDecoderOutputBufferLength → const int
Default output buffer length.
CodecBufferHolder.autoLength
zstdEncoderInputBufferLength → const int
Default input buffer length.
ZstdConstants.ZSTD_BLOCKSIZE_MAX
zstdEncoderOutputBufferLength → const int
Default output buffer length.
CodecBufferHolder.autoLength