MCPcopy Create free account
hub / github.com/apache/arrow / Utf8IsContinuation

Function Utf8IsContinuation

cpp/src/arrow/util/utf8_internal.h:295–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

UTF8DecodeFunction · 0.85
UTF8DecodeReverseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected