Ark Server API (ASA) - Wiki
|
#include <StringConv.h>
Public Types | |
typedef ANSICHAR | LegacyFromType |
typedef UTF8CHAR | FromType |
typedef TCHAR | 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) |
static FORCEINLINE void | Convert (ToType *Dest, const int32 DestLen, const LegacyFromType *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 int32 | ConvertedLength (const LegacyFromType *Source, const int32 SourceLen) |
Definition at line 336 of file StringConv.h.
Definition at line 340 of file StringConv.h.
Definition at line 339 of file StringConv.h.
Definition at line 341 of file StringConv.h.
|
inlinestatic |
Definition at line 359 of file StringConv.h.
|
inlinestatic |
Converts the UTF-8 string to UTF-16 or 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 355 of file StringConv.h.
|
inlinestatic |
Definition at line 379 of file StringConv.h.
|
inlinestatic |
Determines the length of the converted string.
Source | string to read and determine amount of TCHARs to represent |
SourceLen | Length of source string; we will not read past this amount, even if the characters tell us to |
Definition at line 375 of file StringConv.h.