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

Method writeByte

lib/py/src/protocol/TJSONProtocol.py:549–551  ·  view source on GitHub ↗
(self, byte)

Source from the content-addressed store, hash-verified

547 self.writeJSONNumber(1 if boolean is True else 0)
548
549 def writeByte(self, byte):
550 checkIntegerLimits(byte, 8)
551 self.writeJSONNumber(byte)
552
553 def writeI16(self, i16):
554 checkIntegerLimits(i16, 16)

Callers

nothing calls this directly

Calls 2

checkIntegerLimitsFunction · 0.85
writeJSONNumberMethod · 0.80

Tested by

no test coverage detected