剽窃自公司某大牛丰哥:😆😆
NSString *hexStr = @"\x11";
NSString *bodyStr = @"body"
const char* pHeader = [hexStr UTF8String];
NSLog(@"SendData Head:0X%02X Body:%@", pHeader[0], bodyStr);
剽窃自公司某大牛丰哥:😆😆
NSString *hexStr = @"\x11";
NSString *bodyStr = @"body"
const char* pHeader = [hexStr UTF8String];
NSLog(@"SendData Head:0X%02X Body:%@", pHeader[0], bodyStr);
本文标题:关于NSlog打印16进制字符串无法输出问题可参考如下
本文链接:https://www.haomeiwen.com/subject/yaricxtx.html
网友评论