clear method

void clear()

Clear the buffer.

Implementation

void clear() {
  _buffer = Uint8List(_blockSize);
  length = 0;
}