Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FGenericPlatformString
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static int32 ConvertedLength
(
const SourceEncoding* Src |
Returns the required buffer length for the null-terminated Src string when converted to the DestChar encoding. | GenericPlatform/GenericPlatformString.h | |
static int32 ConvertedLength
(
const SourceEncoding* Src, |
Returns the required buffer length for the [Src, Src+SrcSize) string when converted to the DestChar encoding. | GenericPlatform/GenericPlatformString.h |
ConvertedLength(const SourceEncoding *)
Description
Returns the required buffer length for the null-terminated Src string when converted to the DestChar encoding. The returned length includes the space for the null terminator (equivalent to strlen+1).
| Name | ConvertedLength |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformString.h |
| Include Path | #include "GenericPlatform/GenericPlatformString.h" |
template<typename DestEncoding, typename SourceEncoding>
static int32 ConvertedLength
(
const SourceEncoding * Src
)
The number of DestChar elements that Src will be converted into.
Parameters
| Name | Remarks |
|---|---|
| Src | The start of the string to convert. |
ConvertedLength(const SourceEncoding *, int32)
Description
Returns the required buffer length for the [Src, Src+SrcSize) string when converted to the DestChar encoding. The Src range should contain a null terminator if a null terminator is required in the output.
| Name | ConvertedLength |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformString.h |
| Include Path | #include "GenericPlatform/GenericPlatformString.h" |
template<typename DestEncoding, typename SourceEncoding>
static int32 ConvertedLength
(
const SourceEncoding * Src,
int32 SrcSize
)
The number of DestChar elements that Src will be converted into.
Parameters
| Name | Remarks |
|---|---|
| Src | The start of the string to convert. |
| SrcSize | The number of Src elements to convert. |