Skip to main content

Module hex

Module hex 

Source
Expand description

Hexdump and hex string utilities.

Functions§

hexdump
Generate a hexdump of bytes in the style of xxd or Scapy’s hexdump.
hexstr
Generate a compact hex string representation.
hexstr_sep
Generate hex string with separator.
parse_hex
Parse a hex string into bytes.
pretty_bytes
Convert bytes to a pretty-printed representation (like Scapy’s show()).