文件的编解码操作
文件的编解码操作需要借助中间类NSData
NSString *s = @"tsdfsdfsdfsdf";
NSData *data = [s dataUsingEncoding:NSUTF8StringEncoding];
s = [[NSString alloc] initWithData:data encoding:(NSUTF8StringEncoding)];
文件的编解码操作需要借助中间类NSData
NSString *s = @"tsdfsdfsdfsdf";
NSData *data = [s dataUsingEncoding:NSUTF8StringEncoding];
s = [[NSString alloc] initWithData:data encoding:(NSUTF8StringEncoding)];