Navigation
Unreal Engine C++ API Reference > Runtime > Core > HAL
Inheritance Hierarchy
- IFileHandle
- FCachedFileHandle
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/HAL/IPlatformFileCachedWrapper.h |
Include | #include "HAL/IPlatformFileCachedWrapper.h" |
Syntax
class FCachedFileHandle : public IFileHandle
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FCachedFileHandle
(
IFileHandle* InFileHandle, |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Overridden from IFileHandle
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | Flush
(
const bool bFullFlush |
Flushes file handle to disk. |
![]() ![]() |
bool | Read
(
uint8* Destination, |
Read bytes from the file. |
![]() ![]() |
bool | Seek
(
int64 NewPosition |
Change the current write or read position. |
![]() ![]() |
bool | SeekFromEnd
(
int64 NewPositionRelativeToEnd |
Change the current write or read position, relative to the end of the file. |
![]() ![]() |
void | Minimizes optional system or process cache kept for the file. | |
![]() ![]() |
int64 | Size () |
Return the total size of the file |
![]() ![]() |
int64 | Tell () |
Return the current write or read position. |
![]() ![]() |
bool | Truncate
(
int64 NewSize |
Truncate the file to the given size (in bytes). |
![]() ![]() |
bool | Write
(
const uint8* Source, |
Write bytes to the file. |
Constants
Name | Description |
---|---|
BufferCacheSize | |
BufferSizeMask | |
CacheCount |