FPreloadableFile::TotalSize

Return the size of the file, or -1 if the file does not exist.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

FArchiveState::TotalSize()

FPreloadableFile::TotalSize()

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/PreloadableFile.h

Include

#include "Misc/PreloadableFile.h"

Source

/Engine/Source/Runtime/Core/Private/Misc/PreloadableFile.cpp

Syntax

virtual int64 TotalSize()

Remarks

Return the size of the file, or -1 if the file does not exist. This is also the amount of memory that will be allocated by AllocateCache.