Improved hex dump class