Zen API
|
|
protected |
Protected virtual method that copies memory.
destAlloc, srcAlloc, or both will be equal to the alloc argument, enabling the receive to determine the copy direction.
This method should be overriden by foreign memory allocators and/or allocators that make use of context.
alloc | Allocator. |
destAlloc | Allocator associated with destination memory. |
dest | Destination for the memory copy. |
srcAlloc | Allocator associated with source memory. |
src | Source for the memory copy. |
size | Size of memory block to be copied, in bytes. |
context | Context for copy operation (allocator specific; may be required by some allocators). |