@Override
    public long skip(long ln) throws IOException {
        //On TIKA-3092, we found that using the static byte array buffer
        //caused problems with multithreading with the FlateInputStream
        //from a POIFS document stream
        if (skipBuffer == null) {
            skipBuffer = new byte[4096];
        }
        long n = IOUtils.skip(super.in, ln, skipBuffer);
        position += n;
        return n;
    }
This relies on {@link IOUtils#skip(InputStream, long, byte[])} to ensure
that the alleged bytes skipped were actually skipped.

@param ln the number of bytes to skip
@return the number of bytes skipped
@throws IOException if the number of bytes requested to be skipped does not match the
number of bytes skipped or if there's an IOException during the read.
tika-core/src/main/java/org/apache/tika/io/TikaInputStream.java