TCharToNibble

Convert a [TChar](API\Runtime\Core\Misc\TChar) to equivalent hex value as a uint8

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/UnrealString.h

Include

#include "Containers/UnrealString.h"

Syntax

const uint8 TCharToNibble
(
    const TCHAR Hex
)

Remarks

Convert a TChar to equivalent hex value as a uint8

Returns

The uint8 value of a hex character

Parameters

Parameter

Description

Hex

The character