NSString -> NSData
NSData -> NSString
NSData *data = [@"测试...testtesttesttesttest..." dataUsingEncoding:NSUTF8StringEncoding];
NSData -> NSString
NSData *data;
NSString *str= [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];