clear method

void clear()

Clear the buffer.

Implementation

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