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

Method read_uint16

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

Source from the content-addressed store, hash-verified

114 return result
115
116 def read_uint16(self):
117 result = struct.unpack_from("<H", self._data, self._position)[0]
118 self._position += 2
119 return result
120
121 def read_uint24(self):
122 low, high = struct.unpack_from("<HB", self._data, self._position)

Callers 2

raise_for_errorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected