public static void skipFully(Reader input, long toSkip) throws IOException {
        long skipped = skip(input, toSkip);
        if (skipped != toSkip) {
            throw new EOFException("Chars to skip: " + toSkip + " actual: " + skipped);
        }
    }
Skip the requested number of characters or fail if there are not enough left.
<p>
This allows for the possibility that {@link Reader#skip(long)} may
not skip as many characters as requested (most likely because of reaching EOF).

@param input  stream to skip
@param toSkip the number of characters to skip
@throws IOException              if there is a problem reading the file
@throws IllegalArgumentException if toSkip is negative
@throws EOFException             if the number of characters skipped was incorrect
@see Reader#skip(long)
@since 2.0
pay-java-common/src/main/java/com/egzosn/pay/common/util/IOUtils.java