MCPcopy
hub / github.com/PyMySQL/PyMySQL / read_uint24

Method read_uint24

pymysql/protocol.py:122–125  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

120 return result
121
122 def read_uint24(self):
123 low, high = struct.unpack_from("<HB", self._data, self._position)
124 self._position += 3
125 return low + (high << 16)
126
127 def read_uint32(self):
128 result = struct.unpack_from("<I", self._data, self._position)[0]

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected