Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest > API/Plugins/NetcodeUnitTest/NUTDebug
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| 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) | NUTUtilDebug.h | ||
static FString HexDump
(
const FString& InString, |
Version of the above hex-dump function, which takes a string as input | NUTUtilDebug.h | |
static FString HexDump
(
const uint8* InBytes, |
Version of the above hex-dump function, which takes a byte pointer and length as input | NUTUtilDebug.h |
HexDump(const TArray< uint8 > &, bool, bool)
Description
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)
| Name | HexDump |
| Type | function |
| Header File | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/NUTUtilDebug.h |
| Include Path | #include "NUTUtilDebug.h" |
| Source | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Private/NUTUtilDebug.cpp |
static FString HexDump
(
const TArray < uint8 > & InBytes,
bool bDumpASCII,
bool bDumpOffset
)
Returns the hex dump, including line terminators
Parameters
| Name | Remarks |
|---|---|
| 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 |
HexDump(const FString &, bool, bool)
Description
Version of the above hex-dump function, which takes a string as input
| Name | HexDump |
| Type | function |
| Header File | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/NUTUtilDebug.h |
| Include Path | #include "NUTUtilDebug.h" |
static FString HexDump
(
const FString & InString,
bool bDumpASCII,
bool bDumpOffset
)
HexDump(const uint8 *, const uint32, bool, bool)
Description
Version of the above hex-dump function, which takes a byte pointer and length as input
| Name | HexDump |
| Type | function |
| Header File | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/NUTUtilDebug.h |
| Include Path | #include "NUTUtilDebug.h" |
static FString HexDump
(
const uint8 * InBytes,
const uint32 InBytesLen,
bool bDumpASCII,
bool bDumpOffset
)