IdentityCodec class

The "identity", or "none" codec.

This codec is special in that it can be used to explicitly disable Call compression on a Channel that by default compresses.

Implemented types

Constructors

IdentityCodec()
const

Properties

encodingName String
Returns the message encoding that this compressor uses.
final
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(List<int> data) List<int>
Wraps an existing output stream with a compressed output.
override
decompress(List<int> data) List<int>
Wraps an existing output stream with a uncompressed input data.
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