Little-endian lists the bytes with increasing significance and big-endian lists them with decreasing significance.
In the little-endian format, the least significant byte is stored first. In the big-endian format, the largest byte is first stored.
Little-endian is low-to-high; which means right to left.
Big-endian is high-to-low; that means left to right.
Click here to find further information regarding this topic.
Thus, the term hex belongs to big-endian and reverse hex to little-endian.
Example:
hex: (high-to-low) - 33FACC00
reverse hex: (low-to-high) - 00CCFA33
33 FA CC 00
Big-endian: 33FACC00
Little-endian: 00CCFA33
00 00 0F 11
Big-endian: 00000F11
Little-endian: 110F0000
Please make sure that you encode be.ENERGISED big-endian by default. Otherwise you will have problems with roaming networks. |
Version: 2023-03-14 07:28:16 UTC
Comments
0 comments
Article is closed for comments.