clearStream method

void clearStream()

Implementation

void clearStream() {
  _data.clear();
  position = 0;
}