Module |
|
Header |
/Engine/Source/Runtime/Core/Public/FileCache/FileCache.h |
Include |
#include "FileCache/FileCache.h" |
IMemoryReadStreamRef ReadData
(
FGraphEventArray & OutCompletionEvents,
int64 Offset,
int64 BytesToRead,
EAsyncIOPriorityAndFlags Priority
)
Read a byte range form the file. This can be a high-throughput operation and done lots of times for small reads. The system will handle this efficiently.
Memory stream that contains the requested range. May return nullptr in rare cases if the request could not be serviced Data read from this stream will not be valid until all events returned in OutCompletionEvents are complete
Parameter |
Description |
---|---|
OutCompletionEvents |
Must wait until these events are complete before returned data is valid |