|
noexcept |
Computes bitwise XOR of two arbitrary precision integers and copies the resulting integer into a separate output buffer.
| [out] | pDest | The destination buffer of the capacity of at least cbSrc bytes. |
| [in] | pSrc1 | A pointer to the first integer of cbSrc bytes. |
| [in] | pSrc2 | A pointer to the second integer of cbSrc bytes. |
| cbSrc | A byte size of the input operands and a capacity of the output buffer pDest. |
For the operation it is irrelevant whether bytes of the integers are specified in the Little-Endian or Big-Endian order.
The buffers pSrc1, pSrc2 and pDest must not overlap. To write the result into the same buffer as one of the operands, use memxor_inplace.
The memxor_LE and memxor_BE functions allow variable-sized and possibly overlapping buffers.