docs: public <T> void put(Key<T> key, T value) {
      Preconditions.checkNotNull(key, "key");
      Preconditions.checkNotNull(value, "value");
      maybeExpand();
      name(size, key.asciiName());
      value(size, key.toBytes(value));
      size++;
    }