docs: public boolean scan(IApimanBuffer buffer) throws SoapEnvelopeNotFoundException {
          if (this.buffer == null) {
              this.buffer = buffer;
          } else {
              this.buffer.append(buffer);
          }
          boolean scanComplete = doScan();
          // If our buffer is already "max size" but we haven't found the start of the
          // soap envelope yet, then we're likely not going to find it.
          if (!scanComplete && this.buffer.length() >= getMaxBufferLength()) {
              throw new SoapEnvelopeNotFoundException();
          }
          return scanComplete;
      }