MCPcopy 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

testNakedFunction · 0.95
testFieldFunction · 0.95

Calls 1

readByteMethod · 0.95

Tested by

no test coverage detected