reset method

void reset()

Discards the contents; the previous block view stays valid.

Implementation

void reset() {
  _buffer = Uint8List(_targetSize < 256 ? 256 : _targetSize);
  _pos = blockHeaderSize;
  _count = 0;
  _finished = false;
}