For image (pixmap/bitmap) data, byte order is defined by the server, and clients with different native byte ordering must swap bytes as necessary. For all other parts of the protocol, the byte order is defined by the client, and the server swaps bytes as necessary.
The order of bytes in a binary representation of a number. When transmitted on the Internet, the most significant byte is first; for example, a 16-bit word representation of 256 would be 0x0100. On a host computer, such as an Intel computer, the least significant byte is first; for example, a 16-bit word representation of 256 would be 0x0010.
There are two main conventions for the ordering of bytes within multi-byte integers, known as ``big-endian'' (which stores the most significant byte first) and ``little-endian'' (which stores the least significant byte first). Which convention a particular machine uses depends on the vendor; for example DECs use little-endian, while SUNs use big-endian. This can result in problems when data sets are shared over the Internet. The UNIX utility dd can be used to convert between the two conventions --- this is called ``byte swapping.''
The order in which numeric and character values are stored in storage. The Record Framework provides support for converting between different byte orders on a field basis. See big-endian, endian, and little-endian.
Numbers that are more than 8-bits long are stored as consecutive bytes. The byte order indicates whether the bytes are stored most significant to least significant (big endian) or vice versa (little endian). The concept is analogous to storing the digits in 100 as 1-0-0 or 0-0-1.
n. The characteristic ordering of multi-byte quantities (usually integral) in memory, on disk, or in a network or other bytewise I/O stream. The two common byte orders (most-significant-first and least-significant-first) are often called big-endian and little-endian (q.v.).
From Portable Network Graphics (PNG) Specification (Second Edition) ( 2003-11-10) ordering of bytes for multi-byte data values within a PNG file or PNG datastream . PNG uses network byte order .
In Enhanced X-Windows, the order of bytes as defined by the server for pixmap or bitmap data. Clients with different native byte ordering must swap bytes as necessary.