| 261 | } |
| 262 | |
| 263 | bool 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) |
| 268 | ccstd::string getStringUTFCharsJNI(JNIEnv *env, jstring srcjStr, bool *ret) { |
nothing calls this directly
no test coverage detected