reset method

void reset()

Reset the buffer.

Implementation

void reset() {
  length = 0;
}