MCPcopy Create free account
hub / github.com/apache/thrift / isLowSurrogate

Function isLowSurrogate

lib/cpp/src/thrift/protocol/TJSONProtocol.cpp:299–301  ·  view source on GitHub ↗

Return true if the code unit is low surrogate

Source from the content-addressed store, hash-verified

297
298// Return true if the code unit is low surrogate
299static bool isLowSurrogate(uint16_t val) {
300 return val >= 0xDC00 && val <= 0xDFFF;
301}
302
303/**
304 * Class to serve as base JSON context and as base class for other context

Callers 1

readJSONStringMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected