presto-orc/src/main/java/io/prestosql/orc/stream/OrcInputStream.java/OrcInputStream/skipFully
class OrcInputStream:    public void skipFully(long length)
            throws IOException
    {
        while (length > 0) {
            long result = skip(length);
            if (result < 0) {
                throw new OrcCorruptionException(chunkLoader.getOrcDataSourceId(), "Unexpected end of stream");
            }
            length -= result;
        }
    }