A Mutable Log

A blog by Devendra Tewari


Project maintained by tewarid Hosted on GitHub Pages — Theme by mattgraham

Convert ASCII Hex text to binary

Debugging sometimes means dumping a hex stream to the console, or to a log file, something like 0x0a 0xff…

I wrote a simple command line tool to convert that kind of hex data to binary.

The following are all valid hex values and produce the same binary

The following are invalid and will result in an error