Feb-12-2022, 08:14 AM
(Feb-12-2022, 08:07 AM)Gribouillis Wrote: @GiggsB The link you showed was about Ruby code, not Python code. It says nothing about Python.Thanks for the reply.
Yes, you are right. But I was thinking that struct.unpack() function is a function of python and the bit shifting function is just a common operation and doesn't matter what language we use...so I as considering it as a good valid comparison for my case.
But in my code as I mentioned, I would need to create another array of 4 values and pass 4 values every time inside the for loop and pass to unpack() function so it would consume more time. Please correct me if I am wrong.