DEFINITION - SUB
CopyGPMem sAddr&, dAddr&, size& -- general purpose memory copy function
OPERATION
CopyGPMem is a general purpose, fast memory copy function. It can deal
with arbitrary lengths, with its pointers on arbitrary alignments.
It attempts to optimize larger copies with more efficient copies, it
uses byte copies for small moves, parts of larger copies, or the entire
copy if the source and destination are misaligned with respect to each
other. Arbitrary overlapping copies are explicitly supported.
ARGUMENTS
sAddr& -- a address pointer to the source data region
dAddr& -- a address pointer to the destination data region
size& -- the size (in bytes) of the memory area to copy
SEE ALSO
Support Functions
Back to Function Reference