Format hex dump into the buffer provided  (with ASCII / EBCDIC translate functions)