MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / utf8

Method utf8

modules/gui/gui/src/backend/text_server/ustring.cpp:2056–2062  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2054}
2055
2056String String::utf8(const char* p_utf8, int p_len)
2057{
2058 String ret;
2059 ret.parse_utf8(p_utf8, p_len);
2060
2061 return ret;
2062}
2063
2064Error String::parse_utf8(const char* p_utf8, int p_len, bool p_skip_cr)
2065{

Callers 6

print_lineFunction · 0.80
print_verboseFunction · 0.80
print_errorFunction · 0.80
to_utf8_bufferMethod · 0.80
openMethod · 0.80
get_file_as_bytesMethod · 0.80

Calls 5

parse_utf8Method · 0.80
CharStringClass · 0.70
lengthFunction · 0.50
resizeMethod · 0.45
get_dataMethod · 0.45

Tested by

no test coverage detected