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

Method __writeVarint

lib/py/src/protocol/TCompactProtocol.py:155–156  ·  view source on GitHub ↗
(self, n)

Source from the content-addressed store, hash-verified

153 self._check_length(self.container_length_limit, length)
154
155 def __writeVarint(self, n):
156 writeVarint(self.trans, n)
157
158 def writeMessageBegin(self, name, type, seqid):
159 assert self.state == CLEAR

Callers 5

writeMessageBeginMethod · 0.95
__writeI16Method · 0.95
__writeSizeMethod · 0.95
writeI32Method · 0.95
writeI64Method · 0.95

Calls 1

writeVarintFunction · 0.85

Tested by

no test coverage detected