presto-orc/src/main/java/io/prestosql/orc/stream/BooleanOutputStream.java/BooleanOutputStream/reset
class BooleanOutputStream:    @Override
    public void reset()
    {
        data = 0;
        bitsInData = 0;

        closed = false;
        byteOutputStream.reset();
        checkpointBitOffsets.clear();
    }