Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

void kItemCopy | ( | void * | dest,
|  | const void * | src,
|  | kSize | size
| ) |  |

Performs a small copy with minimal overhead.

This method can be used as a lightweight replacement for kMemCopy when the amount of memory to be copied is known to be small (e.g., < 1K). This provides a small optimization on some platforms.

If the amount of memory is not known to be very small, kMemCopy should be used instead.

Parameters

  dest | Destination address.
  src | Source address.
  size | Transfer size (bytes).