more useful options | |
PerlMonks |
Re: How to easily convert the pack function from little endian to big endianby BrowserUk (Patriarch) |
on Aug 10, 2012 at 09:33 UTC ( [id://986705]=note: print w/replies, xml ) | Need Help?? |
Yes:
But whether that is the right output will depend upon what you got sent. This would also produce the same output on either type of machine:
But which of those would produce the correct output, depend entirely on whether the data was packed in little or big-endian order to start with. And that cannot be determined by the receiver; it can only be assumed. With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|