presto-orc/src/main/java/io/prestosql/orc/stream/BooleanOutputStream.java/BooleanOutputStream/flushData
class BooleanOutputStream:    private void flushData()
    {
        byteOutputStream.writeByte((byte) data);
        data = 0;
        bitsInData = 0;
    }