def read_int(self, signed=True):
        """Reads an integer (4 bytes) value."""
        return int.from_bytes(self.read(4), byteorder='little', signed=signed)
def read_int ( self , signed = True ) : return int . from_bytes ( self . read ( 4 ) , byteorder = 'little' , signed = signed )
Reads an integer (4 bytes) value.