本文共 234 字,大约阅读时间需要 1 分钟。
char 是字符型,byte 是字节型
char与BYTE都是占一个字节,但char是有符号的,BYTE是无符号的,占用空间一样大,只是它们各自能表示数的范围不同而已:
byte可以直接强制转成char,如:
BYTE* p;char* s = (char*)p;
转载地址:http://yloen.baihongyu.com/