int转hex void API_intToHex2(int num, unsigned char *outdata){ outdata[0] = (num / 256) % 256; outdata[1] = num % 256;} Qt实战 2024-10-09 41 点赞 0 评论 62 浏览