clear method

void clear()

Empties buffer.

Implementation

void clear() {
  buffer.clear();
  _decoder = null;
}