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

Method _isHighSurrogate

lib/py/src/protocol/TJSONProtocol.py:258–259  ·  view source on GitHub ↗
(self, codeunit)

Source from the content-addressed store, hash-verified

256 "Unexpected character: %s" % current)
257
258 def _isHighSurrogate(self, codeunit):
259 return codeunit >= 0xd800 and codeunit <= 0xdbff
260
261 def _isLowSurrogate(self, codeunit):
262 return codeunit >= 0xdc00 and codeunit <= 0xdfff

Callers 1

readJSONStringMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected