hpack/src/main/java/com/twitter/hpack/DynamicTable.java
public void clear() {
    while (tail != head) {
      headerFields[tail++] = null;
      if (tail == headerFields.length) {
        tail = 0;
      }
    }
    head = 0;
    tail = 0;
    size = 0;
  }
public void clear() {
    while (tail != head) {
      headerFields[tail++] = null;
      if (tail == headerFields.length) {
        tail = 0;
      }
    }
    head = 0;
    tail = 0;
    size = 0;
  }
Remove all entries from the dynamic table.