virtual P6R::P6ERR P6R::p6ISafeString::moveMem ( P6R::P6VOID *  pDest,
P6R::P6SIZE  cDest,
const P6R::P6VOID *  pSource,
P6R::P6SIZE  nBytes 
) [pure virtual]

Copies nBytes from pSource to pDest.

If the buffers overlap, moveMem() ensures that the oringal 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:
SuccessP6R::eOk 
FailureP6R::eInvalidArgpDest and/or pSource are NULL. CDest or nBytes are zero.
P6R::eTooSmallcDest is smaller than nBytes.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.