adonthell-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Adonthell-devel] Endianness (Adonthell and Solaris)


From: Kai Sterker
Subject: Re: [Adonthell-devel] Endianness (Adonthell and Solaris)
Date: Mon, 18 Feb 2002 23:08:14 +0100 (CET)

On Mon, 18 Feb 2002 21:33:32 +0000 cirrus wrote

> Ummm... do you mean all the data like the images and the ogg-files need
> converting?? That would surprise me a lot.

Of course not. But say you save the value 1 on a little endian machine as 16 
bit integer: that'll be (0x0100). Then load it on a big endian machine,
and you'll get the value 256. Not so good ... ;)

Files like .jpg or .ogg have a fixed file format, so it does not matter
where you create them. But the programs that manipulate them have to take
care of reading or writing them in the right way.

Kai





reply via email to

[Prev in Thread] Current Thread [Next in Thread]