Difference between revisions of "Endian"

From AMule Project FAQ
Jump to: navigation, search
 
Line 1: Line 1:
The endianess defines the way data is stored in physical memmory.
+
== Definition ==
 +
 
 +
The endianess defines the way data is stored in physical memory.
 +
 
 +
== Into the issue ==
  
 
There are two standards:
 
There are two standards:
Line 7: Line 11:
  
 
Both are well-widely used and common.
 
Both are well-widely used and common.
 +
 +
== Summary ==
  
 
[[Little endian]] requires the bytes with the numbers with lower weight to be placed first in memory.
 
[[Little endian]] requires the bytes with the numbers with lower weight to be placed first in memory.
Line 13: Line 19:
  
 
Other endianness exist (such as middle-endian) but are mostly very old, outdated and non-standard.
 
Other endianness exist (such as middle-endian) but are mostly very old, outdated and non-standard.
 +
 +
== Notes ==
 +
 +
Endianness used to take to think about storing numbers, but since [http://www.unicode.org Unicode]'s rising popularity, the endianness problem is now into text too, since in [http://www.unicode.org Unicode] one single character might require more than just one byte to represent it.

Latest revision as of 22:45, 9 March 2005

Definition

The endianess defines the way data is stored in physical memory.

Into the issue

There are two standards:

Both are well-widely used and common.

Summary

Little endian requires the bytes with the numbers with lower weight to be placed first in memory.

Big endian requires the bytes with the numbers with higher weight to be placed first in memory.

Other endianness exist (such as middle-endian) but are mostly very old, outdated and non-standard.

Notes

Endianness used to take to think about storing numbers, but since Unicode's rising popularity, the endianness problem is now into text too, since in Unicode one single character might require more than just one byte to represent it.