Ark Server API (ASA) - Wiki
|
#include <StringConv.h>
Public Types | |
typedef InFromType | FromType |
typedef InToType | ToType |
Static Public Member Functions | |
template<typename BufferType > | |
static int32 | Utf16FromCodepoint (uint32 Codepoint, BufferType OutputIterator, uint32 OutputIteratorNumRemaining) |
template<typename SrcBufferType , std::enable_if_t< TIsCharEncodingCompatibleWith_V< SrcBufferType, FromType > > * = nullptr> | |
static FORCEINLINE void | Convert (ToType *Dest, int32 DestLen, const SrcBufferType *Source, int32 SourceLen) |
template<typename SrcBufferType , std::enable_if_t< TIsCharEncodingCompatibleWith_V< SrcBufferType, FromType > > * = nullptr> | |
static FORCEINLINE int32 | ConvertedLength (const SrcBufferType *Source, int32 SourceLen) |
Static Private Member Functions | |
template<typename DestBufferType > | |
static void | Convert_Impl (DestBufferType &Dest, int32 DestLen, const FromType *Source, const int32 SourceLen) |
template<typename DestBufferType > | |
static bool | WriteCodepointToBuffer (const uint32 Codepoint, DestBufferType &Dest, int32 &DestLen) |
Definition at line 386 of file StringConv.h.
typedef InFromType TUTF32ToUTF16_Convert< InFromType, InToType >::FromType |
Definition at line 392 of file StringConv.h.
typedef InToType TUTF32ToUTF16_Convert< InFromType, InToType >::ToType |
Definition at line 393 of file StringConv.h.
|
inlinestatic |
Converts the string to the desired format.
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 463 of file StringConv.h.
|
inlinestaticprivate |
Definition at line 488 of file StringConv.h.
|
inlinestatic |
Determines the length of the converted string.
Definition at line 477 of file StringConv.h.
|
inlinestatic |
Convert Codepoint into UTF-16 characters.
Codepoint | Codepoint to expand into UTF-16 code units |
OutputIterator | Output iterator to write UTF-16 code units into |
OutputIteratorNumRemaining | Maximum number of UTF-16 code units that can be written to OutputIterator |
Definition at line 404 of file StringConv.h.
|
inlinestaticprivate |
Definition at line 503 of file StringConv.h.