This function copies a memory region from src
to dst
reversely.
More...
Macros | |
#define | MCUXCLMEMORY_FP_MEMORY_COPY_REVERSED(pTarget, pSource, byteLen) |
Helper macro to call mcuxClMemory_copy_reversed with flow protection. | |
Functions | |
void | mcuxClMemory_copy_reversed (uint8_t *pDst, uint8_t const *pSrc, size_t length, size_t bufLength) |
Copies a memory buffer to another location reversely. | |
This function copies a memory region from src
to dst
reversely.
#define MCUXCLMEMORY_FP_MEMORY_COPY_REVERSED | ( | pTarget, | |
pSource, | |||
byteLen | |||
) |
Helper macro to call mcuxClMemory_copy_reversed with flow protection.
void mcuxClMemory_copy_reversed | ( | uint8_t * | pDst, |
uint8_t const * | pSrc, | ||
size_t | length, | ||
size_t | bufLength | ||
) |
Copies a memory buffer to another location reversely.
If the destination buffer is too small, i.e. if bufLength < length, then only bufLength bytes are copied reversely.
[out] | pDst | pointer to the buffer to be copied to. |
[in] | pSrc | pointer to the buffer to copy. |
[in] | length | size (in bytes) to be copied. |
[in] | bufLength | buffer size (if bufLength < length, only bufLength bytes are copied reversely). |