Xxd - print out binaries as hexes

xxd - print out binaries as hexes

I’ve been doing a lot more printf debugging these day with --watch mode,

when I’m working on serialization, I find that having a good hex viewer is pretty indispensible. So I’m sharing the 300 line xxd implementation I’ve been using.

https://codeberg.org/peterino2/xxd

Supported Zig versions

zig 0.17.0

LLM usage

None

3 Likes

Looks nice

No explicit indication of the license you wish to apply to it, which could be an issue if others want to make use of it

Is that something you can address with a LICENSE file or equivalent?