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

Function decodeUtf8

libraries/fc/src/utf8.cpp:71–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 }
70
71 void decodeUtf8(const std::string& input, std::wstring* storage)
72 {
73 FC_ASSERT(storage != nullptr);
74
75 utf8::utf8to32(input.begin(), input.end(), std::back_inserter(*storage));
76 }
77
78 void encodeUtf8(const std::wstring& input, std::string* storage)
79 {

Callers 1

from_variantFunction · 0.85

Calls 3

utf8to32Function · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected