| FArchive::Precache()
|
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Serialization/Archive.h |
Include |
#include "Serialization/Archive.h" |
Hint the archive that the region starting at passed in offset and spanning the passed in size is going to be read soon and should be precached.
The function returns whether the precache operation has completed or not which is an important hint for code knowing that it deals with potential async I/O. The archive is free to either not implement this function or only partially precache so it is required that given sufficient time the function will return true. Archives not based on async I/O should always return true.
This function will not change the current archive position.
false if precache operation is still pending, true otherwise
Parameter |
Description |
---|---|
PrecacheOffset |
Offset at which to begin precaching. |
PrecacheSize |
Number of bytes to precache |