MCPcopy
hub / github.com/pyload/pyload / write

Method write

module/lib/thrift/protocol/TBase.py:56–60  ·  view source on GitHub ↗
(self, oprot)

Source from the content-addressed store, hash-verified

54 iprot.readStruct(self, self.thrift_spec)
55
56 def write(self, oprot):
57 if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
58 oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
59 return
60 oprot.writeStruct(self, self.thrift_spec)
61
62class TExceptionBase(Exception):
63 # old style class so python2.4 can raise exceptions derived from this

Callers 15

dumpFunction · 0.45
mainFunction · 0.45
serializeFunction · 0.45
writeContainerStructMethod · 0.45
writeByteMethod · 0.45
writeI16Method · 0.45
writeI32Method · 0.45
writeI64Method · 0.45
writeDoubleMethod · 0.45
writeStringMethod · 0.45
writeVarintFunction · 0.45
__writeUByteMethod · 0.45

Calls 1

writeStructMethod · 0.80

Tested by

no test coverage detected