FCachedFileHandle::Read

Read bytes from the file.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

IFileHandle::Read()

FCachedFileHandle::Read()

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/HAL/IPlatformFileCachedWrapper.h

Include

#include "HAL/IPlatformFileCachedWrapper.h"

Syntax

virtual bool Read
(
    uint8 * Destination,
    int64 BytesToRead
)

Remarks

Read bytes from the file.

Returns

true if the operation completed successfully.

Parameters

Parameter

Description

Destination

Buffer to holds the results, should be at least BytesToRead in size.

BytesToRead

Number of bytes to read into the destination.