1) afc::toHex() is renamed to afc::hexToChar() and moved from afc/utils.h to afc/number.h; 2) it delegates to afc::digitToChar(); 3) afc::digitToChar() does not access memory for bases <= 10.