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

Function UTF8ToUTF32

native/cocos/base/UTF8.cpp:247–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245}
246
247bool UTF8ToUTF32(const ccstd::string &utf8, std::u32string &outUtf32) { //NOLINT
248 return utfConvert(utf8, outUtf32, ConvertUTF8toUTF32);
249}
250
251bool UTF16ToUTF8(const std::u16string &utf16, ccstd::string &outUtf8) { //NOLINT
252 return utfConvert(utf16, outUtf8, ConvertUTF16toUTF8);

Callers 1

addTextMethod · 0.85

Calls 1

utfConvertFunction · 0.85

Tested by

no test coverage detected