MCPcopy Create free account
hub / github.com/AshampooSystems/boden / fromUtf16

Function fromUtf16

framework/foundation/src/String.cpp:13–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11 }
12
13 std::string fromUtf16(const std::u16string &utf16String)
14 {
15 std::wstring_convert<std::codecvt_utf8_utf16<char16_t>, char16_t> convert;
16 return convert.to_bytes(utf16String);
17 }
18
19 std::tuple<std::string_view, std::string_view> split(const std::string_view &view, std::string::value_type token)
20 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected