MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / isUTF16Encoded

Function isUTF16Encoded

include/hxString.h:187–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185 inline const char16_t *raw_wptr() const { return __w; }
186 #endif
187 inline bool isUTF16Encoded() const {
188 #ifdef HX_SMART_STRINGS
189 return __w && ((unsigned int *)__w)[-1] & HX_GC_STRING_CHAR16_T;
190 #else
191 return false;
192 #endif
193 }
194
195 inline bool isAsciiEncoded() const {
196 #ifdef HX_SMART_STRINGS

Callers 15

calcSubHashMethod · 0.85
calcHashMethod · 0.85
toUpperCaseMethod · 0.85
toLowerCaseMethod · 0.85
__URLDecodeMethod · 0.85
String.cppFile · 0.85
indexOfMethod · 0.85
lastIndexOfMethod · 0.85
charCodeAtMethod · 0.85
charAtMethod · 0.85
utf8_strMethod · 0.85
ascii_substrMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected