5#include "Misc/MemStack.h"
6#include "Misc/StringBuilder.h"
7#include "Containers/ArrayView.h"
8#include "Containers/StringView.h"
17 TCHAR* Result = New<TCHAR>(Allocator, Length + 1);
25 return AllocateString(Allocator, String.GetData(), String.Len());
30 return FStringView(AllocateString(Allocator, String), String.Len());
35 return AllocateString(Allocator, StringBuilder.GetData(), StringBuilder.Len());
38template <
typename FormatType,
typename... ArgTypes>
46template <
typename FormatType,
typename... ArgTypes>
TArrayView< T > AllocateArrayView(FMemStackBase &Allocator, TArrayView< T > View)
const TCHAR * AllocateString(FMemStackBase &Allocator, FStringView String)
const TCHAR * AllocateStringf(FMemStackBase &Allocator, const FormatType &Format, ArgTypes... Args)
FStringView AllocateStringView(FMemStackBase &Allocator, FStringView String)
const TCHAR * AllocateString(FMemStackBase &Allocator, const FStringBuilderBase &StringBuilder)
FStringView AllocateStringViewf(FMemStackBase &Allocator, const FormatType &Format, ArgTypes... Args)
const TCHAR * AllocateString(FMemStackBase &Allocator, const TCHAR *String, int32 Length)
static FORCEINLINE void * Memcpy(void *Dest, const void *Src, SIZE_T Count)