code: protected static void checkSkippedError(long skipped, int instead) throws IOException
      {
          if (skipped != instead)
          {
              throw new IOException(MESSAGE_SKIPPED + skipped + MESSAGE_BYTES_INSTEAD_OF + instead);
          }
      }
docs: Skipped message error.
  
  @param skipped The skipped value.
  @param instead The instead value.
  @throws IOException If not skipped the right number of bytes.