Ark Server API (ASA) - Wiki
|
#include <StringConv.h>
Public Types | |
typedef InFromType | FromType |
typedef InToType | ToType |
Static Public Member Functions | |
template<typename SrcBufferType , std::enable_if_t< TIsCharEncodingCompatibleWith_V< SrcBufferType, FromType > > * = nullptr> | |
static FORCEINLINE void | Convert (ToType *Dest, const int32 DestLen, const SrcBufferType *Source, const int32 SourceLen) |
template<typename SrcBufferType , std::enable_if_t< TIsCharEncodingCompatibleWith_V< SrcBufferType, FromType > > * = nullptr> | |
static int32 | ConvertedLength (const SrcBufferType *Source, const int32 SourceLen) |
Static Private Member Functions | |
static uint32 | CodepointFromUtf16 (const FromType *&SourceString, const uint32 SourceLengthRemaining) |
template<typename DestBufferType > | |
static void | Convert_Impl (DestBufferType &ConvertedBuffer, int32 DestLen, const FromType *Source, const int32 SourceLen) |
Definition at line 518 of file StringConv.h.
typedef InFromType TUTF16ToUTF32_Convert< InFromType, InToType >::FromType |
Definition at line 524 of file StringConv.h.
typedef InToType TUTF16ToUTF32_Convert< InFromType, InToType >::ToType |
Definition at line 525 of file StringConv.h.
|
inlinestaticprivate |
Definition at line 564 of file StringConv.h.
|
inlinestatic |
Converts the UTF-16 string to UTF-32.
Dest | The destination buffer of the converted string. |
DestLen | The length of the destination buffer. |
Source | The source string to convert. |
SourceLen | The length of the source string. |
Definition at line 539 of file StringConv.h.
|
inlinestaticprivate |
Read Source string, converting the data from UTF-16 into UTF-32, and placing these in the Destination
Definition at line 621 of file StringConv.h.
|
inlinestatic |
Determines the length of the converted string.
Source | string to read and determine amount of ToType chars to represent |
SourceLen | Length of source string; we will not read past this amount, even if the characters tell us to |
Definition at line 555 of file StringConv.h.