decompressString function
Decompresses a GZip compressed byte array into a string.
Implementation
Future<String> decompressString(
Uint8List input, {
int maxDecompressedBytes = _defaultMaxDecompressedBytes,
}) async {
final decompressedBytes = await decompressBytes(
input,
maxDecompressedBytes: maxDecompressedBytes,
);
return utf8.decode(decompressedBytes);
}