| 293 | } |
| 294 | |
| 295 | static inline bool Utf8IsContinuation(const uint8_t codeunit) { |
| 296 | return (codeunit & 0xC0) == 0x80; // upper two bits should be 10 |
| 297 | } |
| 298 | |
| 299 | static inline bool Utf8Is2ByteStart(const uint8_t codeunit) { |
| 300 | return (codeunit & 0xE0) == 0xC0; // upper three bits should be 110 |
no outgoing calls
no test coverage detected