Dumps an array of bytes formatted as hexadecimal numbers.
A string to output at the start of a new line.
A pointer to a buffer containing the bytes to dump.
The number of bytes to dump.
Maximum number of bytes dumped per line (not the width of the output line).
TCHAR test = _T("This is a test of CDumpContext::HexDump\n");
afxDump.HexDump(_T("."), (BYTE*)test, sizeof(test), 20);