Top "Endianness" questions

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

Lua, dealing with non-ascii byte streams, byteorder change

Need to encode & decode byte-stream (containing non-ascii characters possibly), from/into uint16, uint32, uint64 (their typical C/C++ meaning), …

encoding lua bytearray endianness decoding
Marshalling a big-endian byte collection into a struct in order to pull out values

There is an insightful question about reading a C/C++ data structure in C# from a byte array, but I …

.net interop mono legacy endianness
Is mars MIPS simulator Big or Little Endian

I have to determine if the mars simulator is big or little endian as homework, this seems pretty straightforward at …

assembly mips endianness mars-simulator
ByteBuffer getInt() question

We are using Java ByteBuffer for socket communication with a C++ server. We know Java is Big-endian and Socket communication …

java nio bytebuffer endianness
Big Endian and Little Endian

Given is the snap shot of memory of a byte-addressable computer. What would be loaded into register $16 after execution of …

mips computer-architecture endianness mips32
What's the most Pythonic way of determining endianness?

I'm trying to find the best way of working out whether the machine my code is running on is big-endian …

python endianness
Confusion in htons- little endian/ big endian

When I send a integer variable from one process to other through socket, and then printing the value at received …

c network-programming endianness htonl
(java) Writing in file little endian

I'm trying to write TIFF IFDs, and I'm looking for a simple way to do the following (this code obviously …

java endianness filewriter
what does ntohs() in pcap exactly do?

I read the documentation from one of the answers: The ntohs function takes a 16-bit number in TCP/IP network …

pcap endianness
PostGIS Geometry saving: "Invalid endian flag value encountered."

I have a Spring Roo + Hibernate project which takes a JTS well-known text (WKT) String input from the client application, …

spring hibernate geometry endianness jts