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