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

Function fromUtf32

framework/foundation/src/String.cpp:7–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5namespace bdn
6{
7 std::string fromUtf32(const std::u32string &utf32String)
8 {
9 std::wstring_convert<std::codecvt_utf8<char32_t>, char32_t> convert;
10 return convert.to_bytes(utf32String);
11 }
12
13 std::string fromUtf16(const std::u16string &utf16String)
14 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected