encodeBytes method
Compress the given bytes
with the ZLib format.
level
will set the compression level to use, between 0 and 9, 6 is the
default.
Implementation
Uint8List encodeBytes(List<int> bytes,
{int? level, int windowBits = maxWindowBits}) =>
platformZLibEncoder.encodeBytes(bytes, level: level);