Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/thrift
/ readBool
Method
readBool
lib/py/src/protocol/TBinaryProtocol.py:205–209 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
203
pass
204
205
def
readBool(self):
206
byte = self.readByte()
207
if
byte == 0:
208
return
False
209
return
True
210
211
def
readByte(self):
212
buff = self.trans.readAll(1)
Callers
2
testNaked
Function · 0.95
testField
Function · 0.95
Calls
1
readByte
Method · 0.95
Tested by
no test coverage detected