MCPcopy Create free account
hub / github.com/amwatson/CitraVR / UTF8ToUTF16

Function UTF8ToUTF16

src/common/string_util.cpp:163–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163std::u16string UTF8ToUTF16(std::string_view input) {
164 return boost::locale::conv::utf_to_utf<char16_t>(input.data(), input.data() + input.size());
165}
166
167#ifdef _WIN32
168static std::wstring CPToUTF16(u32 code_page, const std::string& input) {

Callers 9

GetNameSizeFunction · 0.85
CalcHashFunction · 0.85
BuildDirectoriesMethod · 0.85
BuildFilesMethod · 0.85
AsU16StrMethod · 0.85
UpdateMethod · 0.85
ValidateInputMethod · 0.85
ToJStringFunction · 0.85

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected