NUTDebug::HexDump

Takes an array of bytes, and generates a hex dump string out of them, optionally including an ASCII dump and dumping byte offsets also (intended for debugging in the log window)

Windows
MacOS
Linux

References

Module

NetcodeUnitTest

Header

/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/NUTUtilDebug.h

Include

#include "NUTUtilDebug.h"

Source

/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Private/NUTUtilDebug.cpp

Syntax

static FString HexDump
(
    const TArray< uint8 > & InBytes,
    bool bDumpASCII,
    bool bDumpOffset
)

Remarks

Takes an array of bytes, and generates a hex dump string out of them, optionally including an ASCII dump and dumping byte offsets also (intended for debugging in the log window)

NUTDebug

Returns

Returns the hex dump, including line terminators

Parameters

Parameter

Description

InBytes

The array of bytes to be dumped

bDumpASCII

Whether or not to dump ASCII along with the hex

bDumpOffset

Whether or not to dump offset margins for hex rows/columns

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