code: public void clear() {
          while (tail != head) {
              hpackHeaderFields[tail++] = null;
              if (tail == hpackHeaderFields.length) {
                  tail = 0;
              }
          }
          head = 0;
          tail = 0;
          size = 0;
      }
docs: Remove all entries from the dynamic table.