Important: The information in this document is obsolete and should not be used for new development.
OTMemmove
Copies data from one memory location to another memory location.C INTERFACE
void OTMemmove (void* dest, const void* src, size_t nBytes)C++ INTERFACE
None. C++ applications use the C interface to this function.PARAMETERS
dest
- A pointer to the location into which you are copying data.
src
- A pointer to the location from which you are copying data.
nBytes
- The number of bytes of data you want to copy.
DISCUSSION
You can use this function for all memory operations except where the source or destination locations hold uncached memory. In these cases, the Mac OS functionBlockMoveDataUncached
is much faster.To move memory where the source and destination areas do not overlap, use the
OTMemcpy
function.