MCPcopy Create free account
hub / github.com/Tablecruncher/tablecruncher / utf16tou8

Function utf16tou8

external/utf8/cpp20.h:35–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33namespace utf8
34{
35 inline std::u8string utf16tou8(const std::u16string& s)
36 {
37 std::u8string result;
38 utf16to8(s.begin(), s.end(), std::back_inserter(result));
39 return result;
40 }
41
42 inline std::u8string utf16tou8(std::u16string_view s)
43 {

Callers

nothing calls this directly

Calls 3

utf16to8Function · 0.70
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected