FNameEntry::GetSize

Returns the size in bytes for [FNameEntry](API\Runtime\Core\UObject\FNameEntry) structure.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/UObject/NameTypes.h

Include

#include "UObject/NameTypes.h"

Source

/Engine/Source/Runtime/Core/Private/UObject/UnrealNames.cpp

Syntax

static int32 GetSize
(
    const TCHAR * Name
)

Remarks

Returns the size in bytes for FNameEntry structure. This is != sizeof(FNameEntry) as we only allocated as needed.

Returns

required size of FNameEntry structure to hold this string (might be wide or ansi)

Parameters

Parameter

Description

Length

Length of name

bIsPureAnsi

Whether name is pure ANSI or not

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