NSData
摘要:
简介:1. NSData 与 NSStringNSData-> NSStringNSString*aString = [[NSStringalloc]initWithData:adataencoding:NSUTF8StringEncoding];NSString->NSDataNSString*aString =@"1234abcd";NSData*aData = [aStringdataUsingEncoding:NSUTF8StringEncoding];//将data类型的数据,转成UTF8的数据+(NSString *)dataToUTF8String 阅读全文