MCPcopy Create free account
hub / github.com/PyMySQL/PyMySQL / read_uint24

Method read_uint24

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected