utils/src/gzip_json/gzip_compress_stub library
Functions
-
compressBytes(
Uint8List input) → Future< Uint8List> - Compresses a byte array into a GZip compressed byte array.
-
compressString(
String input) → Future< Uint8List> - Compresses a string into a GZip compressed byte array.
-
decompressBytes(
Uint8List input, {int maxDecompressedBytes = _defaultMaxDecompressedBytes}) → Future< Uint8List> - Decompresses a GZip compressed byte array into a byte array.
-
decompressGzip(
Uint8List input, {int maxDecompressedBytes = _defaultMaxDecompressedBytes}) → Future< Uint8List> - Decompresses a GZip compressed byte array with a maximum output size cap.
-
decompressString(
Uint8List input, {int maxDecompressedBytes = _defaultMaxDecompressedBytes}) → Future< String> - Decompresses a GZip compressed byte array into a string.