MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / read_uint32

Method read_uint32

pager_lib/pymysql/protocol.py:127–130  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

125 return low + (high << 16)
126
127 def read_uint32(self):
128 result = struct.unpack_from("<I", self._data, self._position)[0]
129 self._position += 4
130 return result
131
132 def read_uint64(self):
133 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