From: Joe E. <jo...@em...> - 2005-04-07 19:07:58
|
I'm adding a couple of methods to Utility to allow for the address/offset to be printed on the left side of the line, and for the equivalent characters to be printed on the right side (more like a conventional hex editor). This shouldn't affect any existing code. Also, hexDumpOneLine contained, essentially, two duplicates of code in hexDump, so I replaced it with two calls to hexDump. Again, this shouldn't affect anything, since the behavior seems to be unchanged. However, I noticed that hexDump, when creating multi-line dumps, prepends two spaces to lines after the first one. For example: 0A 1E 7E ... ED A3 4F... BC F1 28... Can I remove that indenting... or does someone need it for something? - Joe |