startEncode method

void startEncode (
  1. OutputStreamBase output,
  2. {int level: Deflate.BEST_SPEED}
)

Implementation

void startEncode(OutputStreamBase output, {int level = Deflate.BEST_SPEED}) {
  _data = _ZipEncoderData(level);
  _output = output;
}