IPlatformFile::FileSize

Return the size of the file, or -1 if it doesn't exist.

Windows
MacOS
Linux

Override Hierarchy

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformFile.h

Include

#include "GenericPlatform/GenericPlatformFile.h"

Syntax

int64 FileSize
(
    const TCHAR * Filename
)

Remarks

Return the size of the file, or -1 if it doesn't exist.

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