MCPcopy Create free account
hub / github.com/apache/thrift / writeMessageBegin

Method writeMessageBegin

lib/py/src/protocol/TBinaryProtocol.py:54–62  ·  view source on GitHub ↗
(self, name, type, seqid)

Source from the content-addressed store, hash-verified

52 self._check_length(self.container_length_limit, length)
53
54 def writeMessageBegin(self, name, type, seqid):
55 if self.strictWrite:
56 self.writeI32(TBinaryProtocol.VERSION_1 | type)
57 self.writeString(name)
58 self.writeI32(seqid)
59 else:
60 self.writeString(name)
61 self.writeByte(type)
62 self.writeI32(seqid)
63
64 def writeMessageEnd(self):
65 pass

Callers 1

testMessageFunction · 0.95

Calls 3

writeI32Method · 0.95
writeStringMethod · 0.95
writeByteMethod · 0.95

Tested by

no test coverage detected