I’m trying to cast fstring, float to binary array for socket communication. (Using FSocket)
But It’s not easy one for me… ![]()
Any Idea? ![]()
I’m trying to cast fstring, float to binary array for socket communication. (Using FSocket)
But It’s not easy one for me… ![]()
Any Idea? ![]()
Hi!
You can do something like this:
FBinaryArray FStringToBytes(FString InStr)
{
FBinaryArray Result;
for (int32 index = 0; index < InStr.Len(); index++)
Result.Add(InStr[index]);
return Result;
}