MCPcopy Create free account
hub / github.com/cocos/cocos-engine / UTF32ToUTF16

Function UTF32ToUTF16

native/cocos/base/UTF8.cpp:263–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263bool UTF32ToUTF16(const std::u32string &utf32, std::u16string &outUtf16) { //NOLINT
264 return utfConvert(utf32, outUtf16, ConvertUTF32toUTF16);
265}
266
267#if (CC_PLATFORM == CC_PLATFORM_ANDROID || CC_PLATFORM == CC_PLATFORM_OHOS)
268ccstd::string getStringUTFCharsJNI(JNIEnv *env, jstring srcjStr, bool *ret) {

Callers

nothing calls this directly

Calls 1

utfConvertFunction · 0.85

Tested by

no test coverage detected