IAsyncReadRequest::GetReadResults

Return the bytes of a completed read request. Not legal to call unless the request is complete.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Async/AsyncFileHandle.h

Include

#include "Async/AsyncFileHandle.h"

Syntax

uint8 * GetReadResults()

Remarks

Return the bytes of a completed read request. Not legal to call unless the request is complete.

Returns

Returned memory block which if non-null contains the bytes read. Caller owns the memory block and must call FMemory::Free on it when done. Can be null if the file was not found or could not be read or the request was cancelled, or the request had AIOP_FLAG_PRECACHE.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss