Lz4Codec class

An lz4 compressor and decompressor.

Constructors

Lz4Codec({int compressionLevel = Lz4Option.defaultLevel})
Lz4 gRPC codec constructor
const

Properties

compressionLevel int
Lz4 compression level to use. see Lz4Encoder.level for a value range.
final
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.
decompress(List<int> data) List<int>
Wraps an existing output stream with a uncompressed input 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