dart:io
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
- hashCode → int
read-only, inherited
- The hash code for this object. [...]
- runtimeType → Type
read-only, inherited
- A representation of the runtime type of the object.
Methods
- process(List<int> data, int start, int end) → void
- Call to process a chunk of data. A call to process should only be made when processed returns
null
. - processed({bool flush: true, bool end: false }) → List<int>
- Get a chunk of processed data. When there are no more data available, processed will return
null
. Set flush
to false
for non-final calls to improve performance of some filters. [...] - noSuchMethod(Invocation invocation) → dynamic
inherited
- Invoked when a non-existent method or property is accessed. [...]
- toString() → String
inherited
- Returns a string representation of this object.
Operators
- operator ==(dynamic other) → bool
inherited
- The equality operator. [...]