class BooleanOutputStream implements ValueOutputStream<BooleanStreamCheckpoint> {

    public void writeBoolean(boolean value)
    {
        checkState(!closed);

        if (value) {
            data |= 0x1 << (7 - bitsInData);
        }
        bitsInData++;

        if (bitsInData == 8) {
            flushData();
        }
    }

    public  BooleanOutputStream(CompressionKind compression, int bufferSize);
    public  BooleanOutputStream(OrcOutputBuffer buffer);
    private  BooleanOutputStream(ByteOutputStream byteOutputStream);

}