MCPcopy Create free account
hub / github.com/Snapchat/Valdi / isLowSurrogate

Function isLowSurrogate

valdi_core/src/valdi_core/cpp/Text/UTF16Utils.cpp:31–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 return (c >= 0xD800) && (c < 0xDC00);
30}
31static inline bool isLowSurrogate(char16_t c) {
32 return (c >= 0xDC00) && (c < 0xE000);
33}
34
35/*
36 * Like utf8DecodeCheck, but for UTF-16.

Callers 1

utf16DecodeCheckFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected