The RawZLibFilter class provides a low-level interface to zlib.
Constructors
-
RawZLibFilter.deflateFilter({bool gzip = false, int level = ZLibOption.defaultLevel, int windowBits = ZLibOption.defaultWindowBits, int memLevel = ZLibOption.defaultMemLevel, int strategy = ZLibOption.strategyDefault, List<
int> ? dictionary, bool raw = false}) -
Returns a RawZLibFilter whose process and processed methods
compress data.
factory
-
RawZLibFilter.inflateFilter({int windowBits = ZLibOption.defaultWindowBits, List<
int> ? dictionary, bool raw = false}) -
Returns a RawZLibFilter whose process and processed methods
decompress data.
factory
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
process(
List< int> data, int start, int end) → void - Process a chunk of data.
-
processed(
{bool flush = true, bool end = false}) → List< int> ? - Get a chunk of processed data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited