![]() |
|
Perl Monk, Perl Meditation | |
PerlMonks |
Re^2: Reading (and parsing) a byte streamby ChemBoy (Priest) |
on Mar 06, 2006 at 03:57 UTC ( [id://534630]=note: print w/replies, xml ) | Need Help?? |
I'm afraid your shot misses—endianness has to do with byte order, not the significance of bits within bytes. So if you have a four-byte number, the most-significant byte may be at the beginning (Big-endian, or $Config{byteorder} eq '4321') or at the end (Little-endian, '1234'), but the values of the bytes themselves don't change. If God had meant us to fly, he would *never* have given us the railroads. --Michael Flanders
In Section
Seekers of Perl Wisdom
|
|