MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / is_utf8_continuation

Function is_utf8_continuation

include/engine/framework/text/utf8.h:10–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8namespace engine::text {
9
10inline bool is_utf8_continuation(unsigned char ch) noexcept {
11 return (ch & 0xC0U) == 0x80U;
12}
13
14inline size_t utf8_codepoint_count(std::string_view text, std::string_view label) {
15 size_t count = 0;

Callers 3

split_utf8_spansFunction · 0.85
utf8_codepointsFunction · 0.85
utf8_codepoint_countFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected