The GZipCodec encodes raw bytes to GZip compressed bytes and decodes GZip compressed bytes to raw bytes.
The difference between ZLibCodec and GZipCodec is that the GZipCodec
wraps the ZLib
compressed bytes in GZip
frames.
Properties
- decoder → Converter<List<int>, List<int>>
-
Get a
ZLibDecoder
for decodingGZip
compressed data.read-only - dictionary → List<int>
-
read-only
- encoder → Converter<List<int>, List<int>>
-
Get a
ZLibEncoder
for encoding toGZip
compressed data.read-only - gzip → bool
-
read-only
- hashCode → int
-
Get a hash code for this object.…
read-only, inherited - inverted → Codec<List<int>, List<int>>
-
Inverts
this
.…read-only, inherited - level → int
-
read-only
- memLevel → int
-
read-only
- raw → bool
-
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited - strategy → int
-
read-only
- windowBits → int
-
read-only
Constructors
Operators
-
operator ==(
other) → bool -
The equality operator.…
inherited
Methods
-
decode(
List<int> encoded) → List<int> -
inherited
-
encode(
List<int> input) → List<int> -
inherited
-
fuse(
Codec<List<int>, dynamic> other) → Codec<List<int>, dynamic> -
Fuses
this
withother
.…inherited -
noSuchMethod(
Invocation invocation) → dynamic -
noSuchMethod is invoked when users invoke a non-existent method on an object. The name of the method and the arguments of the invocation are passed to noSuchMethod in an Invocation. If noSuchMethod returns a value, that value becomes the result of the original invocation.…
inherited -
toString(
) → String -
Returns a string representation of this object.
inherited