Dumps the memory block into a hex representation.
Useful for debugging.
a pointer to the memory to dump
the size of the memory block to dump