MCPcopy Create free account
hub / github.com/Clarionos/clarion / encodeUtf8

Function encodeUtf8

libraries/fc/src/utf8.cpp:78–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76 }
77
78 void encodeUtf8(const std::wstring& input, std::string* storage)
79 {
80 FC_ASSERT(storage != nullptr);
81
82 utf8::utf32to8(input.begin(), input.end(), std::back_inserter(*storage));
83 }
84
85} ///namespace fc

Callers 2

to_variantFunction · 0.85
to_native_ansi_pathMethod · 0.85

Calls 3

utf32to8Function · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected