NSString/NSData/char*类型转换
参考来自:http://www.cnblogs.com/pengyingh/articles/2341880.html1. NSString转化为UNICODE String:(NSString*)fname = @“Test”;char fnameStr[10];memcpy(fnameStr, [fname cStringUsingEncoding:NSUnicodeStringEn