RawZLibFilter class

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})
factory
Returns a a RawZLibFilter whose process and processed methods compress data.
RawZLibFilter.inflateFilter({int windowBits = ZLibOption.defaultWindowBits, List<int>? dictionary, bool raw = false})
factory
Returns a a RawZLibFilter whose process and processed methods decompress data.

Properties

hashCodeint
read-only, inherited
The hash code for this object. [...]
runtimeTypeType
read-only, inherited
A representation of the runtime type of the object.

Methods

noSuchMethod(Invocation invocation) → dynamic
inherited
Invoked when a non-existent method or property is accessed. [...]
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
inherited
A string representation of this object. [...]

Operators

operator ==(Object other) → bool
inherited
The equality operator. [...]

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-io/RawZLibFilter-class.html