Dave's Brain

Browse - computer tips - endian

Date: 2006Nov20

Q.  Please explain "endian"

A.  This refers to the order of bytes in a word.
A 16-bit word is two bytes.  So the issue is the order of those two bytes.
The number 0xAABB is represended:

	0xAA 0xBB with big Endian (aka Network order)
	0xBB 0xAA with little Endian (aka Intel order)

For more than you want to know about this see:
http://en.wikipedia.org/wiki/Endian

Add a comment

Sign in to add a comment
Copyright © 2008, dave - Code on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License.