remove inline for readIntWithSign method