We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0d9ae7 commit eb1e36dCopy full SHA for eb1e36d
1 file changed
Source/common/String.h
@@ -67,7 +67,9 @@ static inline NSString* StringTokenToNSString(es_string_token_t es_str) {
67
if (es_str.length == 0) {
68
return nil;
69
}
70
- return StringToNSString(es_str.data);
+ return [[NSString alloc] initWithBytes:es_str.data
71
+ length:es_str.length
72
+ encoding:NSUTF8StringEncoding];
73
74
75
static inline std::string BufToHexString(const uint8_t* buf, size_t bufsize) {
0 commit comments