Read out the content of a Fortran binary file based on the limited information given by its hexadecimal representation

The ambiguity as to order often arises when bits are grouped into chunks that are more than 8 bits long, and we do not know where one data item within a record ends (and the next data item within the same record begins, if there is such an item). I, too, find it confusing when the display shows groups of more than two hex-characters at a time.

Here are the displays from two Unix/Linux utilities for the same data file.

T:\>xxd kLG_1.data | head
00000000: 0e00 0000 0200 0000 5031 2020 2020 2020  ........P1
T:\>od -t x2 kLG_1.data | head
0000000 000e 0000 0002 0000 3150 2020 2020 2020
T:\>od -t x1 kLG_1.data | head
0000000 0e 00 00 00 02 00 00 00 50 31 20 20 20 20 20 20

I will modify my binary_display program to display from right to left so the hex values are in order.
We can then see if this breaks the mold, or we can read like other languages?

I am suggesting this as the Emac display in the OP has β€œ0e00” at the start of the first line, but I think it would read better if it was β€œ000e” at the right end of the first line, then fill to the left.