good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: 3-byte representationby ikegami (Patriarch) |
on Oct 12, 2011 at 17:50 UTC ( [id://931057]=note: print w/replies, xml ) | Need Help?? |
If you want big-endian byte order:
If you want little-endian byte order:
PS — Going from 3 to 4 increases the space needed by 33%, not 25%. Update: Slightly simpler solutions.
In Section
Seekers of Perl Wisdom
|
|