docs: public void ensureCapacity(final int required) {
          if (required <= 0) {
              return;
          }
          final int available = this.array.length - this.len;
          if (required > available) {
              expand(this.len + required);
          }
      }