class_docstr: Binary implementation of the Thrift protocol driver.
class_docstr_tok: ["Binary","implementation","of","the","Thrift","protocol","driver","."]
code: def readBinary(self):
      size = self.readI32()
      self._check_string_length(size)
      s = self.trans.readAll(size)
      return s
  
imports: from .TProtocol import TType, TProtocolBase, TProtocolException, TProtocolFactory
  from struct import pack, unpack
label_desc: Use image node_id 42 for calling the TBinaryProtocol obj's underlying member method code with example usage: obj.readBinary() and returns: s