FString::ToHexBlob

Converts a string into a buffer

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/UnrealString.h"

Source

/Engine/Source/Runtime/Core/Private/Containers/String.cpp

Syntax

static bool ToHexBlob
(
    const FString & Source,
    uint8 * DestBuffer,
    const uint32 DestSize
)

Remarks

Converts a string into a buffer

Returns

true if the conversion happened, false otherwise

Parameters

Parameter

Description

DestBuffer

the buffer to fill with the string data

DestSize

the size of the buffer in bytes (must be at least string len / 2)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss