2 ms·
I won't give you a technical reason, but rather respond to the second part about LE and sanity. Actually LE is the natural order and the question is why anybod
by mungoman2 11y ago
I won't give you a technical reason, but rather respond to the second part about LE and sanity.
Actually LE is the natural order and the question is why anybody sane would prefer BE. The reason you think otherwise is because you view hexdumps the wrong way.
A hexdump shows hexadecimal bytes. Isolate one byte and number the bits -- 76543210, right to left. Number the nibbles -- 10, right to left. Now number the bytes -- 0123..., left to right?
Display your hexdumps with addresses increasing right to left and LE makes perfect sense. This is how numbers are written, so the convention should be followed when displaying numbers.
- phkahler 11y agoWhy on earth would anyone number the bytes right to left? Do you want strings to appear backward as well? But only the portion of a string on one line, the fragments will still be in correct order. Or do you advocate numbering from bottom to top too?
- mungoman2 11y agoI am talking about the view of the hex data. That view is about showing numbers, and the common complaint about LE is that numbers are reversed, but this is only the case when you break the convention of displaying numbers right to left. For showing strings it's better to use left to right, as that's the convention for text.
- mreiland 11y agomost hex editors will show you the ascii value for hex that falls within the range of ascii, which can be useful to humans.