reset method

void reset()

Reset the circular buffer to the empty state, without clearing the old elements from the underlying storage. See resetAndClear.

Implementation

void reset() {
  _first = 0;
  _last = -1;
}