|
noexcept |
Computes bitwise AND of two arbitrary precision integers and places the result into a buffer of one of the operands.
[in,out] | pSrcDest | A buffer, which on input contains the first integral operand. On output, the buffer receives the result of the operation. |
[in] | pSrc2 | A pointer to the second integral operand. The parameter is allowed to point to the same buffer as pSrcDest . Other than that, the buffers may not overlap. To use overlapping buffers use memand_LE or memand_BE. |
cbSrcDest | A byte size of both of the operands as well as the capacity of the output buffer. |
For the operation the byte order of the operands is irrelevant.
To preserve the values of both operands and copy the result of the operation into a third buffer, use memand_copy (faster), memand_LE
or memand_BE
.
The memand_LE and memand_BE functions allow variable-sized and possibly overlapping buffers.