请教如何将unsigned short数组转换成NSString??
急求,麻烦哪位高手说下。。
[解决办法]
- (id)initWithCharactersNoCopy:(unichar *)characters length:(NSUInteger)length freeWhenDone:(BOOL)freeBuffer; /* "NoCopy" is a hint */- (id)initWithCharacters:(const unichar *)characters length:(NSUInteger)length;- (id)initWithUTF8String:(const char *)nullTerminatedCString;
[解决办法]
unsigned short 跟 unichar应该可以互换等同使用。