nn::nstd::ARMv6::MemCpy Function
void MemCpy(
void * dstp,
const void * srcp,
size_t size
);
| Name | Description | |
|---|---|---|
| out | dstp | Copy destination address. |
| in | srcp | Copy source address. |
| in | size | The number of bytes to copy. |
Uses the CPU to perform memory copy.
When alignment is undefined, this function is faster than std::memcpy because at runtime it selects the optimal method based on the alignment of the copy source/destination addresses. But use std::memcpy for u32* and structures, and other cases where alignment is determined statically and the copy source/destination addresses are aligned the same.
The copy source region and the copy destination region must not overlap.
CONFIDENTIAL