Dave's Brain

Browse - Computer Tips - Please explain "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 represented:

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-2018, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.