Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/thrift
/ writeBool
Method
writeBool
lib/py/src/protocol/TBinaryProtocol.py:105–109 ·
view source on GitHub ↗
(self, bool)
Source
from the content-addressed store, hash-verified
103
pass
104
105
def
writeBool(self, bool):
106
if
bool:
107
self.writeByte(1)
108
else
:
109
self.writeByte(0)
110
111
def
writeByte(self, byte):
112
buff = pack(
"!b"
, byte)
Callers
2
testNaked
Function · 0.95
testField
Function · 0.95
Calls
1
writeByte
Method · 0.95
Tested by
no test coverage detected