Use the predefined type
Fix android build by breaking out hexical_cast with a length to a different function name (hexical_cast_len)