decompressBytes function

Future<Uint8List> decompressBytes(
  1. Uint8List input, {
  2. int maxDecompressedBytes = _defaultMaxDecompressedBytes,
})

Decompresses a GZip compressed byte array into a byte array.

Implementation

Future<Uint8List> decompressBytes(
  Uint8List input, {
  int maxDecompressedBytes = _defaultMaxDecompressedBytes,
}) async {
  return Isolate.run(() => _decompressBytesSync(input, maxDecompressedBytes));
}