Go to the source code of this file.
◆ UE_STRING_CHARTYPE
◆ UE_STRING_CHARTYPE_IS_TCHAR
| #define UE_STRING_CHARTYPE_IS_TCHAR 1 |
◆ UE_STRING_CLASS
◆ UE_STRING_DEPRECATED
| #define UE_STRING_DEPRECATED |
( |
|
Version, |
|
|
|
Message |
|
) |
| |
◆ UE_STRING_PRINTF_FMT_CHARTYPE
◆ BytesToHex()
| FString BytesToHex |
( |
const uint8 * |
Bytes, |
|
|
int32 |
NumBytes |
|
) |
| |
|
inline |
Convert bytes to uppercase hex string
◆ BytesToHexLower()
| FString BytesToHexLower |
( |
const uint8 * |
Bytes, |
|
|
int32 |
NumBytes |
|
) |
| |
|
inline |
Convert bytes to lowercase hex string
◆ BytesToString()
| FString BytesToString |
( |
const uint8 * |
In, |
|
|
int32 |
Count |
|
) |
| |
|
inline |
Convert an array of bytes to a string
- Parameters
-
| In | byte array values to convert |
| Count | number of bytes to convert |
- Returns
- Valid string representing bytes.
◆ ByteToHex()
| void ByteToHex |
( |
uint8 |
In, |
|
|
FString & |
Result |
|
) |
| |
|
inline |
Convert a byte to hex
- Parameters
-
| In | byte value to convert |
| Result | out hex value output |
◆ CheckTCharIsHex()
| const bool CheckTCharIsHex |
( |
const TCHAR |
Char | ) |
|
|
inline |
Checks if the TChar is a valid hex character
- Parameters
-
- Returns
- True if in 0-9 and A-F ranges
◆ LexToSanitizedString() [1/3]
| StringType LexToSanitizedString |
( |
const T & |
Value | ) |
|
Helper template to convert to sanitized strings
◆ LexToSanitizedString() [2/3]
| StringType LexToSanitizedString |
( |
double |
Value | ) |
|
|
inline |
◆ LexToSanitizedString() [3/3]
| StringType LexToSanitizedString |
( |
float |
Value | ) |
|
|
inline |
◆ LexToString() [1/3]
| StringType LexToString |
( |
bool |
Value | ) |
|
|
inline |
◆ LexToString() [2/3]
| StringType LexToString |
( |
const CharType * |
Ptr | ) |
|
◆ LexToString() [3/3]
| StringType LexToString |
( |
const T & |
Value | ) |
|
Convert numeric types to a string
◆ NibbleToTChar()
Returns uppercase Char value of Nibble
◆ NibbleToTCharLower()
Returns lowercase Char value of Nibble
◆ StringToBytes()
| int32 StringToBytes |
( |
const FString & |
String, |
|
|
uint8 * |
OutBytes, |
|
|
int32 |
MaxBufferSize |
|
) |
| |
|
inline |
Convert FString of bytes into the byte array.
- Parameters
-
| String | The FString of byte values |
| OutBytes | Ptr to memory must be preallocated large enough |
| MaxBufferSize | Max buffer size of the OutBytes array, to prevent overflow |
- Returns
- The number of bytes copied
◆ TCharToNibble()
Convert a TChar to equivalent hex value as a uint8
- Parameters
-
- Returns
- The uint8 value of a hex character