clear method

void clear()

Clears the contents of this builder.

The current contents are discarded and this builder becomes empty.

Implementation

void clear() {
  _length = 0;
  _chunks.clear();
}