Extract float32 from TArray
Hi, I have a TArray of Bytes from TCP connection. I have 58 Bytes of header and 12 x 4 Bytes of Float32. I need to extraxt the 12 float32 numbers from my Array Bytes, I have try this code for extraxt the first number but the result is wrong every time:
Someone can help me?
Transform(12x4 Bytes) : https://github.com/openigtlink/OpenIGTLink/blob/release-3.0/Documents/Protocol/transform.md
I don't now the best and fastest way. But normally I'd start with something like:
Not sure about it, but that would be my first try.
(I did not compile that, it is just the basic idea)
Follow this question
Once you sign in you will be able to subscribe for any updates here