Top "Endianness" questions

Endianness refers to how multi-byte values are stored in memory, sent between devices or stored on disk.

convert big endian to little endian in C [without using provided func]

I need to write a function to convert big endian to little endian in C. I can not use any …

c swap endianness
How do I convert between big-endian and little-endian values in C++?

How do I convert between big-endian and little-endian values in C++? EDIT: For clarity, I have to translate binary data (…

c++ endianness
Convert a byte array to integer in Java and vice versa

I want to store some data into byte arrays in Java. Basically just numbers which can take up to 2 Bytes …

java types endianness
Convert Little Endian to Big Endian

I just want to ask if my method is correct to convert from little endian to big endian, just to …

c endianness
C program to check little vs. big endian

Possible Duplicate: C Macro definition to determine big endian or little endian machine? int main() { int x = 1; char *y = (char*)&…

c byte endianness
Does Java read integers in little endian or big endian?

I ask because I am sending a byte stream from a C process to Java. On the C side the 32 …

java endianness
Detecting endianness programmatically in a C++ program

Is there a programmatic way to detect whether or not you are on a big-endian or little-endian architecture? I need …

c++ algorithm endianness
C Macro definition to determine big endian or little endian machine?

Is there a one line macro definition to determine the endianness of the machine. I am using the following code …

c architecture macros endianness
C# little endian or big endian?

In the documentation of hardware that allows us to control it via UDP/IP, I found the following fragment: In …

c# hardware udp endianness
Difference between Big Endian and little Endian Byte order

What is the difference between Big Endian and Little Endian Byte order ? Both of these seem to be related to …

unicode utf-16 endianness