| 249 | } |
| 250 | |
| 251 | bool UTF16ToUTF8(const std::u16string &utf16, ccstd::string &outUtf8) { //NOLINT |
| 252 | return utfConvert(utf16, outUtf8, ConvertUTF16toUTF8); |
| 253 | } |
| 254 | |
| 255 | bool UTF16ToUTF32(const std::u16string &utf16, std::u32string &outUtf32) { //NOLINT |
| 256 | return utfConvert(utf16, outUtf32, ConvertUTF16toUTF32); |