pub package

zstandard_linux

The Linux implementation of zstandard.

Usage

void act() async {
  final zstandard = ZstandardLinux();

  Uint8List original = Uint8List.fromList([...]);

  Uint8List? compressed = await zstandard.compress(original);
  
  Uint8List? decompressed = await zstandard.decompress(compressed ?? Uint8List(0));
}