CUPS book page 131: What are little and big endians?

Eckhard Stein eckhard.stein at web.de
Wed Feb 1 13:59:33 PST 2012


Hallo,

I am reading the CUPS book and found on page 131 in What are little- and big-
endian the following sentence:

   Big-endian numbers are stored with rhe most-significant byte (high bits)
   first: a 32-bit integer whose value is 1234 would be stored in memory as
   the bytes 0, 0, 4, and 210.

If a transform 1234 to hex the result is 4D2. I understand the number 4 but
not 210. I have looked in the errata of the book, but I have found nothing.

Eckhard




More information about the cups mailing list