presto-orc/src/main/java/io/prestosql/orc/stream/BooleanInputStream.java/BooleanInputStream/readByte
class BooleanInputStream:    private void readByte()
            throws IOException
    {
        checkState(bitsInData == 0);
        data = byteStream.next();
        bitsInData = 8;
    }