GZip class

The GZip encodes raw bytes to GZip compressed bytes and decodes GZip compressed bytes to raw bytes.

It is implemented using dart:io on native platforms and package:web in browsers.

Constructors

GZip()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compress(Uint8List data) Future<List<int>>
Compress the data using gzip compression.
decompress(Uint8List data) Future<List<int>>
Decode the gzip-compressed data.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited