Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

void kItemZero | ( | void * | dest,
|  | kSize | size
| ) |  |

Zero-initializes a small amount of memory with minimal overhead.

This method can be used as a lightweight replacement for kMemZero 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, kMemZero should be used instead.

Parameters

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