code: private void lazySeek(long targetPos, long len) throws IOException {
      //For lazy seek
      seekInStream(targetPos, len);
  
      //re-open at specific location if needed
      if (wrappedStream == null) {
        reopen("read from new offset", targetPos, len);
      }
    }
docs: Perform lazy seek and adjust stream to correct position for reading.
  
  @param targetPos position from where data should be read
  @param len length of the content that needs to be read