Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ISafeString::copyMem ( P6VOID pDest,
P6SIZE  cDest,
const P6VOID pSource,
P6SIZE  nBytes 
)
pure virtual

Copies nBytes from pSource to pDest.

If the buffers overlap, the result is undefined.

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
SuccessP6R::eOk 
FailureP6R::eInvalidArgpDest and/or pSource are NULL. CDest or nBytes are zero.
P6R::eTooSmallcDest is smaller than nBytes.