Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
voidHexDump(LPCTSTRlpszLine**,BYTE*pby,intnBytes,intnWidth);**
throw(CFileException);
Parameters
lpszLine
A string to output at the start of a new line.
pby
A pointer to a buffer containing the bytes to dump.
nBytes
The number of bytes to dump.
nWidth
Maximum number of bytes dumped per line (not the width of the output line).
Remarks
Dumps an array of bytes formatted as hexadecimal numbers.
Example
//example for CDumpContext::HexDump
char test[] = "This is a test of CDumpContext::HexDump\n";
afxDump.HexDump( ".", (BYTE*) test, sizeof test, 20 );
The output from this program is:
. 54 68 69 73 20 69 73 20 61 20 74 65 73 74 20 6F 66 20 43 44
. 75 6D 70 43 6F 6E 74 65 78 74 3A 3A 48 65 78 44 75 6D 70 0A
. 00