Copies nBytes from pSource to pDest.
If the buffers overlap, moveMem() ensures that the original bytes in pSource are copied into pDest before being overwritten.
- Parameters
-
pDest | [ in ] A pointer to the destination buffer. |
cDest | [ in ] The size of the destination buffer in bytes. |
pSource | [ in ] A pointer to the source buffer. |
nBytes | [ in ] The number of bytes to copy into pDest from pSource. |
- Returns
Success | eOk | |
Failure | P6R::eInvalidArg | pDest and/or pSource are NULL. CDest or nBytes are zero. |
P6R::eTooSmall | cDest is smaller than nBytes. |