Provide a lower level __bin2hex function that does not allocate memory itself.
Use stack memory in test_work_current, avoiding a malloc/free cycle each time.