/Bin-to-Hex-macro

A C header converting 8-bit binary literal into hexadecimal literal. For some old C compiler

Primary LanguageCBSD 2-Clause "Simplified" LicenseBSD-2-Clause

Bin-to-Hex-macro

A C header converting 8-bit binary literal into hexadecimal literal. For some old C compiler.

It might seems silly. But this is the fastest way to do this (for runtime performance).

Files

  • BintoHex.h : The header itself
  • main.py : Script genearating the header