public static long skipBytes(final InputStream in, final long skip, final String exMessage) throws IOException {
        try {
            return IOUtils.skip(in, skip);
        } catch (final IOException e) {
            throw new IOException(exMessage, e);
        }
    }
Consumes the {@code InputStream} (without closing it) searching for a quad. It will stop either when the quad is found, or when there are no more bytes
in the input stream.

<p>
Returns {@code true} if it found the quad, and {@code false} otherwise.

@param quad a quad (the needle)
@param in  an input stream (the haystack)
@return {@code true} if it found the quad, and {@code false} otherwise
@throws IOException if it fails to read from the given input stream
src/main/java/org/apache/commons/imaging/common/BinaryFunctions.java