NUTDebug::BitDump

Takes an array of bytes, and generates a bit-based/binary dump string out of them, optionally including 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 BitDump
(
    const TArray< uint8 > & InBytes,
    bool bDumpOffset,
    bool bLSBFirst
)

Remarks

Takes an array of bytes, and generates a bit-based/binary dump string out of them, optionally including byte offsets also (intended for debugging in the log window)

Returns

Returns the hex dump, including line terminators

Parameters

Parameter

Description

InBytes

The array of bytes to be dumped

bDumpOffset

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

bLSBFirst

Whether or not the Least Significant Bit should be printed first, instead of last

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