[#BloombergLP-bdlb-BitStringUtil-xorEqual] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/BitStringUtil.adoc[BitStringUtil]::xorEqual :relfileprefix: ../../../ :mrdocs: Bitwise XOR corresponding bits of two bit strings. == Synopsis Declared in `<bdlb_bitstringutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void xorEqual( uint64_t* dstBitString, std::size_t dstIndex, uint64_t const* srcBitString, std::size_t srcIndex, std::size_t numBits); ---- == Description Bitwise XOR the specified `numBits` of the specified `dstBitString` starting at the specified `dstIndex` with the `numBits` of the specified `srcBitString` starting at the specified `srcIndex`, and write the result over the bits that were read from `dstBitString`. The behavior is undefined unless `dstBitString` has a length of at least `dstIndex + numBits` and `srcBitString` has a length of at least `srcIndex + numBits`. == Parameters [cols="1,4"] |=== | Name| Description | *dstBitString* | destination bit string | *dstIndex* | starting bit index in the destination | *srcBitString* | source bit string | *srcIndex* | starting bit index in the source | *numBits* | number of bits to combine |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#