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

Function Utf8Is3ByteStart

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

Source from the content-addressed store, hash-verified

301}
302
303static inline bool Utf8Is3ByteStart(const uint8_t codeunit) {
304 return (codeunit & 0xF0) == 0xE0; // upper four bits should be 1110
305}
306
307static inline bool Utf8Is4ByteStart(const uint8_t codeunit) {
308 return (codeunit & 0xF8) == 0xF0; // upper five bits should be 11110

Callers 1

UTF8DecodeReverseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected