class_docstr: Binary implementation of the Thrift protocol driver.
class_docstr_tok: ["Binary","implementation","of","the","Thrift","protocol","driver","."]
code: def writeBool(self, bool):
      if bool:
          self.writeByte(1)
      else:
          self.writeByte(0)
  
imports: from .TProtocol import TType, TProtocolBase, TProtocolException, TProtocolFactory
  from struct import pack, unpack
label_desc: Use image node_id 17 for calling the TBinaryProtocol obj's underlying member method code with example usage: obj.writeBool(bool) without return types