presto-orc/src/main/java/io/prestosql/orc/stream/ByteInputStream.java/ByteInputStream/skip
class ByteInputStream:    @Override
    public void skip(long items)
            throws IOException
    {
        while (items > 0) {
            if (offset == length) {
                readNextBlock();
            }
            long consume = min(items, length - offset);
            offset += consume;
            items -= consume;
        }
    }