Skip to main content

Module debug

Module debug 

Source
Expand description

Protocol debugging and wire format inspection utilities.

Used by both the CLI client and mock server for detailed logging.

Structs§

DecodedMessage
A decoded FinTS message ready for human display.
DecodedSegment
A decoded FinTS segment ready for display.

Enums§

VerbosityLevel
Controls how much detail is emitted in formatted output.

Functions§

decode_message
Parse raw bytes into a DecodedMessage.
format_decoded
Produce a human-readable multi-line string for a DecodedMessage.
format_wire_log
Combine a label + optional hex dump + decoded segments.
hex_dump
Classic hex dump: 16 bytes per line, offset | hex | ascii.