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

Function UTF16ToUTF32

native/cocos/base/UTF8.cpp:255–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255bool UTF16ToUTF32(const std::u16string &utf16, std::u32string &outUtf32) { //NOLINT
256 return utfConvert(utf16, outUtf32, ConvertUTF16toUTF32);
257}
258
259bool UTF32ToUTF8(const std::u32string &utf32, ccstd::string &outUtf8) { //NOLINT
260 return utfConvert(utf32, outUtf8, ConvertUTF32toUTF8);

Callers

nothing calls this directly

Calls 1

utfConvertFunction · 0.85

Tested by

no test coverage detected