FString (Hex String) to TArray<uint8> (byteArray)
컴퓨터공학/언리얼엔진2016. 7. 19. 14:44
사용 되는 주요 함수FString::ToHexBlobhttps://docs.unrealengine.com/latest/INT/API/Runtime/Core/Containers/FString/ToHexBlob/index.html 사용법 FString exampleData = TEXT("89504e470d0a1a0a000000"); TArray rtnData; // De-hex string into TArray const int32 DataLength = exampleData.Len() / 2; rtnData.Reset( DataLength ); rtnData.AddUninitialized( DataLength ); FString::ToHexBlob( exampleData, rtnData.GetData(),..