python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Python code to Delphi 7 conversion: endianess
I am trying to convert this code to Delphi 7. In Python it converts hex bytes to big endian:
keydata=[0,0,0,0,0,0,0,0]
for i in range(0,len(data),4):
Keydata[i//4]=unpack(">I",data[i:i+4...
Maaz
Votes: 0
Answers: 1
How "readelf --hex-dump" gives little endian output
I am using readelf --hex-dump=<section name> <elf> to get hex dump of a specific section. However, the result is shown as big endian DWORD. Is there a native way to make the output little ...
Eric Sun
Votes: 0
Answers: 0
Can you reverse the byte order of a double and store the result back in a double in C?
I'm currently writing a binary application protocol in C that sends uint32_t and doubles across the network using sockets. When writing uint32_t's, I always use the htonl() functions to convert the ho...
Izzo
Votes: 0
Answers: 2
Sorting memory fixing Byte order Endian
I am struggeling with a problem on an embedded system. I have to program in C which is quite the task for me as i usualy work in object based programming languages.
In this system two processors share...

Denis Schaf
Votes: 0
Answers: 2