Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/GenericPlatform
Inheritance Hierarchy
- IFileHandle
- FCachedFileHandle
- FLoggedFileHandle
- FManagedStorageFileWriteHandle
- FNetworkFileHandle
- FPakFileHandle
- FRegisteredFileHandle
- IWrappedFileHandle
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformFile.h |
| Include | #include "GenericPlatform/GenericPlatformFile.h" |
Syntax
class IFileHandle
Remarks
File handle interface.
Destructors
| Type | Name | Description | |
|---|---|---|---|
~IFileHandle () |
Destructor, also the only way to close the file handle |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Flush
(
const bool bFullFlush |
Flushes file handle to disk. | |
| bool | Read bytes from the file. | ||
| bool | |||
| bool | 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 the file to the given size (in bytes). | ||
| bool | Write bytes to the file. |