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:
float ReceivedUE4float32;
ReceivedUE4float32 = float(ReceivedData[58]); //58 index of first float32
GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Red, FString::Printf(TEXT("Dato intdex 58 ~> %f"), ReceivedUE4float32));
Someone can help me?
Thanks
Socket: OpenIGTLink/index.md at release-3.0 · openigtlink/OpenIGTLink · GitHub
Transform(12x4 Bytes) : OpenIGTLink/transform.md at release-3.0 · openigtlink/OpenIGTLink · GitHub