MCPcopy Create free account
hub / github.com/VCVRack/Rack / UTF8Length

Function UTF8Length

src/string.cpp:508–510  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

506
507
508size_t UTF8Length(const std::string& s8) {
509 return UTF8CodepointIndex(s8, s8.size());
510}
511
512
513size_t UTF8CodepointIndex(const std::string& s8, size_t endPos) {

Callers 1

drawMethod · 0.85

Calls 2

UTF8CodepointIndexFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected