HexDump Module
Provides hex dumping functionality.
Functions and values
| Function or value |
Description
|
Full Usage:
HexDump.makeLines bytesPerLine wordSize useColor addr bytes
Parameters:
int
-
Number of bytes to display per line. Must be
positive.
wordSize : WordSize
-
Word size used to format each line address.
useColor : bool
-
Whether to emit colored output segments.
addr : uint64
-
Starting address for the dump.
bytes : byte array
-
The byte array to render.
Returns: OutString array
One OutString per rendered line. Each element is either
colored or plain depending on useColor.
|
Renders the given byte array as hex dump lines. Each line contains the current address, hexadecimal byte values padded to bytesPerLine, and the ASCII representation of the bytes.
|
B2R2