spidermonkey - What is NSString internally? -


can assign char* or wchar_t* nsstring , avoid copying how?

i need pass unicode (utf16 le) string spidermonkey uiview subclass, , goal avoid copying if possible, or @ least avoid intermediate conversion utf8.

thank you.

see - (instancetype)initwithbytesnocopy:(void *)bytes length:(nsuinteger)length encoding:(nsstringencoding)encoding freewhendone:(bool)flag method of nsstring class.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -