public ClickHouseOutputStream writeBoolean(boolean b) throws IOException {
        return writeByte(b ? (byte) 1 : (byte) 0);
    }
Writes a byte (true=1, false=0) into output stream.

@param b boolean value to write
@return current output stream
@throws IOException when failed to write value into output stream, not able
                    to sent all bytes, or operate on a closed stream
clickhouse-data/src/main/java/com/clickhouse/data/ClickHouseOutputStream.java