class_docstr: Binary implementation of the Thrift protocol driver.
class_docstr_tok: ["Binary","implementation","of","the","Thrift","protocol","driver","."]
code: def writeBinary(self, str):
      self.writeI32(len(str))
      self.trans.write(str)
  
imports: from .TProtocol import TType, TProtocolBase, TProtocolException, TProtocolFactory
  from struct import pack, unpack
label_desc: Use image node_id 23 for calling the TBinaryProtocol obj's underlying member method code with example usage: obj.writeBinary(str) without return types