MCPcopy
hub / github.com/PyMySQL/PyMySQL / read_uint16

Method read_uint16

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

Source from the content-addressed store, hash-verified

115 return result
116
117 def read_uint16(self):
118 result = struct.unpack_from("<H", self._data, self._position)[0]
119 self._position += 2
120 return result
121
122 def read_uint24(self):
123 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