zstandard_android 1.0.1 copy "zstandard_android: ^1.0.1" to clipboard
zstandard_android: ^1.0.1 copied to clipboard

Android platform implementation of zstandard

pub package

zstandard_android #

The Android implementation of zstandard.

Usage #

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

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

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