Navigation
API > API/Runtime > API/Runtime/PakFile
Inheritance Hierarchy
- IFileHandle
- FPakFileHandle
References
| Module | PakFile |
| Header | /Engine/Source/Runtime/PakFile/Public/IPlatformFilePak.h |
| Include | #include "IPlatformFilePak.h" |
Syntax
template<typename ReaderPolicy>
class FPakFileHandle : public IFileHandle
Remarks
File handle to read from pak file.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPakFileHandle
(
const TRefCountPtr< const FPakFile >& InPakFile, |
Constructs pak file handle to read from pak. | ||
FPakFileHandle
(
const TRefCountPtr< const FPakFile >& InPakFile, |
Constructs pak file handle to read from pak. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Destructor. Cleans up the reader archive if necessary. |
Overridden from IFileHandle
| 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. | |
| 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. |