code: public void reset()
      {
          if (_refs != null) {
              _refs.clear();
              _refCount = 0;
          }
  
          _classRefs.clear();
          _typeRefs = null;
          _offset = 0;
          _isPacket = false;
          _isUnshared = false;
      }
docs: Resets all counters and references