Diarica
Diarica
 This function was now marked as deprecated on Unreal Engine 5.2,And for the source code of this function only return an empty list.  And I don't know how...
Currently file_req::read is allocate buffer memory with std::unique_ptr, hopefully allow user allocate it.
In read_file and get_file_size function, the original efi loader uses AllocatePool to allocate file and file info memory, it's crash on booting due to 4k unaligned pages, should use AllocatePages....
[UPDATED] with alignment. I wrote an extension you can now deserialize buffer without any copying.
Hopefully useful for you! Originally, if you're using std::vector as a serialize field, you must get memory copying, it's annoying. And for some cases (game engine assets etc.) you definitely...