UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TUTF16ToUTF32_Convert< InFromType, InToType > Class Template Reference

#include <StringConv.h>

Public Types

typedef InFromType FromType
 
typedef InToType ToType
 

Static Public Member Functions

template<typename SrcBufferType >
static UE_FORCEINLINE_HINT void Convert (ToType *Dest, const int32 DestLen, const SrcBufferType *Source, const int32 SourceLen)
 
template<typename SrcBufferType >
static int32 ConvertedLength (const SrcBufferType *Source, const int32 SourceLen)
 

Member Typedef Documentation

◆ FromType

◆ ToType

Member Function Documentation

◆ Convert()

template<typename SrcBufferType >
static UE_FORCEINLINE_HINT void TUTF16ToUTF32_Convert< InFromType, InToType >::Convert ( ToType Dest,
const int32  DestLen,
const SrcBufferType Source,
const int32  SourceLen 
)
inlinestatic

Converts the UTF-16 string to UTF-32.

Parameters
DestThe destination buffer of the converted string.
DestLenThe length of the destination buffer.
SourceThe source string to convert.
SourceLenThe length of the source string.

◆ ConvertedLength()

template<typename SrcBufferType >
static int32 TUTF16ToUTF32_Convert< InFromType, InToType >::ConvertedLength ( const SrcBufferType Source,
const int32  SourceLen 
)
inlinestatic

Determines the length of the converted string.

Parameters
Sourcestring to read and determine amount of ToType chars to represent
SourceLenLength of source string; we will not read past this amount, even if the characters tell us to
Returns
The length of the string in UTF-32 characters.

The documentation for this class was generated from the following file: