docs: public final void seek(long pPosition) throws IOException {
          checkOpen();
  
          // TODO: This is correct according to javax.imageio (IndexOutOfBoundsException),
          // but it's inconsistent with reset that throws IOException...
          if (pPosition < flushedPosition) {
              throw new IndexOutOfBoundsException("position < flushedPosition!");
          }
  
          seekImpl(pPosition);
          position = pPosition;
      }