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

Method read_uint32

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

Source from the content-addressed store, hash-verified

124 return low + (high << 16)
125
126 def read_uint32(self):
127 result = struct.unpack_from("<I", self._data, self._position)[0]
128 self._position += 4
129 return result
130
131 def read_uint64(self):
132 result = struct.unpack_from("<Q", self._data, self._position)[0]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected