We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39d5827 commit 49ccb4fCopy full SHA for 49ccb4f
pymysqlreplication/packet.py
@@ -282,6 +282,9 @@ def read_uint24(self):
282
def read_uint32(self):
283
return struct.unpack('<I', self.read(4))[0]
284
285
+ def read_int32(self):
286
+ return struct.unpack('<i', self.read(4))[0]
287
+
288
def read_uint40(self):
289
a, b = struct.unpack("<BI", self.read(5))
290
return a + (b << 8)
0 commit comments