Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TStringBuilderBase
Description
- Reserves memory such that the string builder can contain at least the given number of characters.
-
Unlike AddUninitialized, this will not advance CurPos, and thus the various Append calls will start at the end of the string builder (from prior to this Reserve call).
| Name | Reserve |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/StringBuilder.h |
| Include Path | #include "Misc/StringBuilder.h" |
void Reserve
(
int32 InNewCapacity
)
Parameters
| Name | Remarks |
|---|---|
| InNewCapacity | The total number of characters the string builder can contain. |