Re: Cohen's paper on byte order

From: Mok-Kong Shen (mok-kong.shen_at_t-online.de)
Date: 04/26/03


Date: Sat, 26 Apr 2003 10:04:48 +0200


Mok-Kong Shen wrote:
>
[snip]
> It may be noted that due to the case of B vs. L, i.e.
> different byte ordering, one should take care of the
> different sizes of 'unsigned int' on different machines.
> A file for general data transfer should thus contain
> information of that size, so that eventually a needed
> conversion could be done.

Addendum: I realize that this is not necessary, if
(B, b) is taken as the 'reference' hardware, for the
sequence of 16 8-bit units as depicted (abstractly) in
Fig. 2, will always to written out in that order on such
hardware beginning with the leftmost unit of Fig. 2,
independent of the word size. Thus (B, b) seems to be
the best choice.

M. K. Shen



Relevant Pages

  • Re: [SLE] Novell reports loss
    ... the vast majority of users neither know nor care whether they are ... They simply do not have the money to buy new copies of Windows ... software and fancy new hardware. ...
    (SuSE)
  • Re: Drag it to the trash...
    ... in hardware to do all that. ... is the registry journalled and is XP a journaling file system? ... Neither of these was in any way an innovation. ...
    (comp.sys.mac.advocacy)
  • Re: XP Pro activation - false positive
    ... Activation Widiot would care about a slave drive is the open question. ... My understanding of WPA is that the hardware ... >> slave a customer's hard drive onto my XP Pro SP2 workstation to pull the ... >> it was powered off so that I could copy salvaged data onto it. ...
    (microsoft.public.windowsxp.general)
  • Re: C. Elegans brain simulation - does one exist?
    ... > with a digital computer, ... > hardware and the program being executed. ... the same thing because this is all "made up fiction". ...
    (comp.ai.philosophy)
  • Re: [PATCH] Blacklist binary-only modules lying about their license
    ... Marc Boucher wrote: ... > traditional open-source approach) will benefit Linux, ... are you so sure that removing the incentive/reward for hardware vendors ...
    (Linux-Kernel)