MCPcopy
hub / github.com/PyMySQL/PyMySQL / read_struct

Method read_struct

pymysql/protocol.py:175–179  ·  view source on GitHub ↗
(self, fmt)

Source from the content-addressed store, hash-verified

173 return self.read(length)
174
175 def read_struct(self, fmt):
176 s = struct.Struct(fmt)
177 result = s.unpack_from(self._data, self._position)
178 self._position += s.size
179 return result
180
181 def is_ok_packet(self):
182 # https://dev.mysql.com/doc/internals/en/packet-OK_Packet.html

Callers 3

__init__Method · 0.80
__init__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected