How to automatic serialize USTRUCT to array of bytes?
How to automatic serialize instance of USTRUCT variable via reflection system if all properties are marked with UPROPERTY to array of bytes (TArray)? Any function or module inside engine maybe available about which i do not know?
asked May 28 '15 at 02:30 PM in C++ Programming
I'm not sure if this will answer your question, but one way of getting your USTRUCT into an array of bytes can be done like so:
Since FBufferArchive inherits from TArray you could just use any TArray functions on Buffer. Hope this helps.
answered Aug 28 '15 at 10:39 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here