MCPcopy Create free account
hub / github.com/axmolengine/axmol / getChar16VectorFromUTF16String

Function getChar16VectorFromUTF16String

core/base/UTF8.cpp:398–401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

396#endif
397
398std::vector<char16_t> getChar16VectorFromUTF16String(const std::u16string& utf16)
399{
400 return std::vector<char16_t>(utf16.begin(), utf16.end());
401}
402
403size_t getCharacterCountInUTF8String(std::string_view utf8)
404{

Callers 1

UTF8Tests.cppFile · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected