clear method

void clear ()

Removes all bytes from bytes.

This can be used to avoid double-processing data.

Implementation

void clear() {
  _buffer.clear();
}