Xdumpgo Tutorial ⇒

While tools like xxd and hexdump are great, xdumpgo is written in Go and designed for structured binary data, custom type awareness, and easy integration with Go projects.
It can read raw bytes, interpret primitive types (ints, floats, etc.), and even apply .proto or struct definitions to display meaningful data instead of just hex.


You have events.log with records:
[timestamp (uint64)] [length (uint16)] [payload (bytes)] xdumpgo tutorial

xdumpgo is a small Go-based utility for dumping and inspecting executable file formats and memory images (ELF, PE, Mach-O, raw memory). It’s designed for quick static inspection, extracting headers, sections, symbols, and for simple forensic or reverse-engineering tasks. While tools like xxd and hexdump are great,

Dump raw memory from a serial monitor log: You have events

cat memdump.hex | xxd -r -p | xdumpgo -s 0x8000000 -n 256