Dear Wiki user, You have subscribed to a wiki page or wiki category on "Thrift Wiki" for change notification.
The following page has been changed by AndreiMakhanov: http://wiki.apache.org/thrift/ThriftUsagePython ------------------------------------------------------------------------------ transportOut = TTransport.TMemoryBuffer() protocolOut = TBinaryProtocol.TBinaryProtocol(transportOut) work.write(protocolOut) - bytes = transportOut.getvalue() + bytes = transportOut.getvalue() # the string 'bytes' can be written out to disk + # to be read in at a different time transportIn = TTransport.TMemoryBuffer(bytes) protocolIn = TBinaryProtocol.TBinaryProtocol(transportIn)
