Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/GenericPlatform > API/Runtime/Core/GenericPlatform/IFileHandle
- IFileHandle::Truncate()
- FCachedFileHandle::Truncate()
- FLoggedFileHandle::Truncate()
- FManagedStorageFileWriteHandle::Truncate()
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformFile.h |
| Include | #include "GenericPlatform/GenericPlatformFile.h" |
bool Truncate
(
int64 NewSize
)
Remarks
Truncate the file to the given size (in bytes). true if the operation completed successfully.
Parameters
| Name | Description |
|---|---|
| NewSize | Truncated file size (in bytes). |