best audio/sound converter
stude.list at googlemail.com
stude.list at googlemail.com
Sat Oct 7 15:45:59 UTC 2006
On 07/10/06, Gabriel M Dragffy <dragffy at yandex.ru> wrote:
> But anyway, it still doesn't answer the question: what are endians?
Did you miss out the top bit?
On Sat, 2006-10-07 at 07:01 +0200, GĂ©rard BIGOT wrote
> When you encode number on more than one byte, the first question you
> have to answer is : 'do I put the biggest part of the number at the
> beginning or at the end of the lot of bytes?". For lots of reasons,
> the two answer are globally equivalent, and, historically the
> different kind of plateformes (SPARC, intel, ...) have had one or the
> other.
Now for some ASCII art
| Byte 0 | Byte 1 | Byte 2 | Byte 3 |
---------^bit0
that is Big Endian
| Byte 3 | Byte 2 | Byte 1 | Byte 0 |<- bit0
this is little endian
Basically the order of bytes seems to be the other way around in memory.
wikipedia article: http://en.wikipedia.org/wiki/Endianness
Big endian includes PowerPC (on Macs prior to the Intel Macs)
Little endian includes Intel x86
hope that explains what they are a bit, if your trying to work out
which one to use, I haven't got a clue. I think it might mean you
can't transfer files between endians though.
if your need to use one I would say, if your on Intel or AMD use little endian.
- Andy
More information about the ubuntu-users
mailing list