zstandard_macos 1.3.14 copy "zstandard_macos: ^1.3.14" to clipboard
zstandard_macos: ^1.3.14 copied to clipboard

macOS platform implementation of zstandard

pub package

zstandard_macos #

The macOS implementation of zstandard.

Usage #

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

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

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