reset method

void reset()

Reset the builder and make it ready for filling a new buffer.

Implementation

void reset() {
  _allocator.clear(_buf, false);
  _maxAlign = 1;
  _tail = 0;
  _currentVTable = null;
  _vTables.length = 0;
  if (_strings != null) {
    _strings = new Map<String, int>();
  }
}