Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/thrift
/ _isLowSurrogate
Method
_isLowSurrogate
lib/py/src/protocol/TJSONProtocol.py:261–262 ·
view source on GitHub ↗
(self, codeunit)
Source
from the content-addressed store, hash-verified
259
return
codeunit >= 0xd800 and codeunit <= 0xdbff
260
261
def
_isLowSurrogate(self, codeunit):
262
return
codeunit >= 0xdc00 and codeunit <= 0xdfff
263
264
def
_toChar(self, high, low=None):
265
if
not low:
Callers
1
readJSONString
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected