Good evening !
I am receiving data from my smartfoxserver instance in certain intervalls. I need to check the received ISFSArray for differences with my ISFSArray i received earlier. I hoped i could compare the bits or bytes. But the problem is that those values only change with the array length and not the array content.
Is there a way to compare two ISFSArray sets for differences ?
How to compare two sets of ISFSArray for differences ?
Re: How to compare two sets of ISFSArray for differences ?
Hi,
the ISFSArray is an object so it's not byte data. You could traverse the two objects and compare every item. There isn't an easy way to do it because the array can also contain other nested arrays, objects etc...
Cheers
the ISFSArray is an object so it's not byte data. You could traverse the two objects and compare every item. There isn't an easy way to do it because the array can also contain other nested arrays, objects etc...
Cheers
Who is online
Users browsing this forum: No registered users and 88 guests