|
noexcept |
Computes bitwise NOT of an arbitrary-precision integer, then computes bitwise AND of the result with another arbitrary-precision integer and copies the final result into a separate destination buffer.
[out] | pDest | A pointer to the destination buffer with the capacity of at least cbSrc bytes. |
[in] | pSrc1 | A pointer to the first integer whose bits are complemented and then combined with bits of pSrc2 using bitwise AND. The size of the integer is cbSrc . |
[in] | pSrc2 | A pointer to the second integer which is combined with the complement of the integer pointed to by pSrc1 . The size of the integer is also cbSrc . |
cbSrc | Byte sizes of the data in pSrc1 and pSrc2 as well as the capacity of 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 memandnot_inplace.
The memandnot_LE and memandnot_BE functions allow variable-sized and possibly overlapping buffers.