Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FGenericPlatformString
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static DestEncoding * Convert
(
DestEncoding* Dest, |
Converts the null-terminated Src string range from SourceEncoding to DestEncoding and writes it to the [Dest, Dest+DestSize) range, including a null terminator. | GenericPlatform/GenericPlatformString.h | |
static DestEncoding * Convert
(
DestEncoding* Dest, |
Converts the [Src, Src+SrcSize) string range from SourceEncoding to DestEncoding and writes it to the [Dest, Dest+DestSize) range. | GenericPlatform/GenericPlatformString.h |
Convert(DestEncoding , int32, const SourceEncoding )
Description
Converts the null-terminated Src string range from SourceEncoding to DestEncoding and writes it to the [Dest, Dest+DestSize) range, including a null terminator. If the Dest range is not big enough to hold the converted output, NULL is returned. In this case, nothing should be assumed about the contents of Dest.
| Name | Convert |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformString.h |
| Include Path | #include "GenericPlatform/GenericPlatformString.h" |
template<typename SourceEncoding, typename DestEncoding>
static DestEncoding * Convert
(
DestEncoding * Dest,
int32 DestSize,
const SourceEncoding * Src
)
A pointer to one past the last-written element.
Parameters
| Name | Remarks |
|---|---|
| Dest | The start of the destination buffer. |
| DestSize | The size of the destination buffer. |
| Src | The start of the string to convert. |
Convert(DestEncoding , int32, const SourceEncoding , int32)
Description
Converts the [Src, Src+SrcSize) string range from SourceEncoding to DestEncoding and writes it to the [Dest, Dest+DestSize) range. The Src range should contain a null terminator if a null terminator is required in the output. If the Dest range is not big enough to hold the converted output, NULL is returned. In this case, nothing should be assumed about the contents of Dest.
| Name | Convert |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformString.h |
| Include Path | #include "GenericPlatform/GenericPlatformString.h" |
template<typename SourceEncoding, typename DestEncoding>
static DestEncoding * Convert
(
DestEncoding * Dest,
int32 DestSize,
const SourceEncoding * Src,
int32 SrcSize
)
A pointer to one past the last-written element.
Parameters
| Name | Remarks |
|---|---|
| Dest | The start of the destination buffer. |
| DestSize | The size of the destination buffer. |
| Src | The start of the string to convert. |
| SrcSize | The number of Src elements to convert. |