网站首页  词典首页

请输入您要查询的计算机术语:

 

术语 CDumpContext::HexDump
释义 CDumpContext::HexDump

void HexDump(LPCTSTR lpszLine,BYTE* pby,int nBytes,int nWidth);
  throw(CFileException);

参数:
lpszLine在新行起点处输出的字符串。
pby包含堆字节的缓冲区的指针。
nBytes堆字节数。
nWidth每行能够转储的最大字节数(不是输出行的宽度)。

说明:堆十六进制格式的字节。

示例:
//example for CDumpContext::HexDump
char test[] = "This is a test of CDumpContext::HexDump\";
afxDump.HexDump( ".", (BYTE*) test, sizeof test, 20 );

程序输出:
. 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
随便看

 

MFC类库中文详解手册包含4274条MFC类库参考词条,基本涵盖了Microsoft基本类库中的类、全局函数、全局变量和宏的内容,是计算机编程的有利工具。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 12:34:21