ZLibChunkCodec class final
ZLib/Deflate ChunkCodec (codecIdZlib) backed by dart:io's
ZLibCodec.
- Implemented types
Constructors
- ZLibChunkCodec({int level = ZLibOption.defaultLevel})
-
Creates a ZLibChunkCodec with compression
level(-1..9, default6).
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
Unique 8-bit codec identifier (
0..255).no setteroverride - level → int
-
Deflate compression level.
final
- name → String
-
Human-readable codec name for diagnostics.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
decode(
Uint8List input, int expectedRawLength) → Uint8List -
Decompresses
inputback toexpectedRawLengthbytes.override -
encode(
Uint8List input) → Uint8List -
Compresses raw bytes
input.override -
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