SwapBlock

void SwapBlock (void *memoryBlock1, void *memoryBlock2, int numberOfBytes);

Purpose

Swaps the contents of two blocks of memory.

Parameters

Input
Name Type Description
memoryBlock1 void * A pointer to a memory block.
memoryBlock2 void * A pointer to a memory block.
numberOfBytes integer Pass the size of the memory blocks to be swapped.

Return Value

None.