摘要:
char* pData = "hello world"; char buf[3]; std::string result = ""; for (int i = 0;i < length; i++) { sprintf(buf, "%02x", pData[i]); result += buf; } 阅读全文
posted @ 2020-05-11 17:49
sherlock-merlin
阅读(4815)
评论(0)
推荐(1)
浙公网安备 33010602011771号