decompressString function

Future<String> decompressString(
  1. Uint8List input
)

Decompresses a GZip compressed byte array into a string.

Implementation

Future<String> decompressString(Uint8List input) async {
  final decompressedBytes = await decompressBytes(input);
  return utf8.decode(decompressedBytes);
}