MCPcopy Create free account
hub / github.com/Snapchat/Valdi / utf8ToUnicode

Function utf8ToUnicode

snap_drawing/src/snap_drawing/cpp/Utils/UTFUtils.cpp:22–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20namespace snap::drawing {
21
22std::vector<Character> utf8ToUnicode(std::string_view utf8) {
23 std::vector<Character> out;
24 utf8ToUnicode(utf8, out);
25 return out;
26}
27
28size_t utf8ToUnicode(std::string_view utf8, std::vector<Character>& output) {
29 const auto* utf8Start = utf8.data();

Callers 6

TESTFunction · 0.85
TEST_FFunction · 0.85
TESTFunction · 0.85
appendMethod · 0.85

Calls 3

dataMethod · 0.45
sizeMethod · 0.45
resizeMethod · 0.45

Tested by 5

TESTFunction · 0.68
TEST_FFunction · 0.68
TESTFunction · 0.68