Header menu logo B2R2

HexDump Module

Provides hex dumping functionality.

Functions and values

Function or value Description

HexDump.render bytesPerLine wordSize useColor addr bytes

Full Usage: HexDump.render bytesPerLine wordSize useColor addr bytes

Parameters:
    bytesPerLine : int - Number of bytes to display per line.
    wordSize : WordSize - Word size used for address formatting.
    useColor : bool - Whether to use colored output.
    addr : uint64 - Starting address for the dump.
    bytes : byte array - The byte array to render.

Returns: OutString array An array of hex dump lines in either colored or plain text format.

Converts a byte array into an array of hex dump lines, where each line displays the address, hexadecimal values, and ASCII representation. Supports both colored and plain text output.

bytesPerLine : int

Number of bytes to display per line.

wordSize : WordSize

Word size used for address formatting.

useColor : bool

Whether to use colored output.

addr : uint64

Starting address for the dump.

bytes : byte array

The byte array to render.

Returns: OutString array

An array of hex dump lines in either colored or plain text format.

Type something to start searching.