01006d0017f7a000 - |best|

| Bytes (raw) | Reverse order (BE) | Value (hex) | Value (dec) | |-------------|--------------------|-------------|-------------| | 01 00 | 00 01 | 0x0001 | 1 | | 6d 00 | 00 6d | 0x006D | 109 | | 17 f7 | f7 17 | 0xF717 | 63255 | | a0 00 | 00 a0 | 0x00A0 | 160 |

hex_str = "01006d0017f7a000" data = bytes.fromhex(hex_str) import struct words = struct.unpack('<4H', data) # (1, 109, 63255, 160) Big-endian 16-bit ints words_be = struct.unpack('>4H', data) # (256, 27904, 6135, 40960) 64-bit int (little) val64 = struct.unpack('<Q', data)[0] # 176888129281? check 01006d0017f7a000

© 2004-2011 The Apache Software Foundation.
Apache ActiveMQ, ActiveMQ, Apache, the Apache feather logo, and the Apache ActiveMQ project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
Graphic Design By Hiram