doOutput method

  1. @override
int doOutput(
  1. Uint8List out,
  2. int outOff,
  3. int outLen
)
override

Implementation

@override
int doOutput(Uint8List out, int outOff, int outLen) {
  if (_diff != null) {
    if (!squeezing) {
      absorbBits(0x00, 2);
    }

    squeeze(out, outOff, outLen * 8);

    return outLen;
  } else {
    return super.doOutput(out, outOff, outLen);
  }
}