FPakFileHandle::Truncate

Truncate the file to the given size (in bytes).

Windows
MacOS
Linux

Override Hierarchy

IFileHandle::Truncate()

FPakFileHandle::Truncate()

References

Module

PakFile

Header

/Engine/Source/Runtime/PakFile/Public/IPlatformFilePak.h

Include

#include "IPlatformFilePak.h"

Syntax

virtual bool Truncate
(
    int64 NewSize
)

Remarks

Truncate the file to the given size (in bytes).

Returns

true if the operation completed successfully.

Parameters

Parameter

Description

NewSize

Truncated file size (in bytes).

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss