presto-orc/src/main/java/io/prestosql/orc/stream/OrcInputStream.java/OrcInputStream/available
class OrcInputStream:    @Override
    public int available()
    {
        if (current == null) {
            return 0;
        }
        return current.available();
    }