Deflate constructor

Deflate(
  1. List<int> bytes, {
  2. int? level = DEFAULT_COMPRESSION,
  3. int flush = FINISH,
  4. dynamic output,
})

Implementation

Deflate(List<int> bytes,
    {int? level = DEFAULT_COMPRESSION, int flush = FINISH, dynamic output})
    : _input = InputStream(bytes),
      _output = output ?? OutputStream() {
  _init(level);
  _deflate(flush);
}