sub reverse_bytes { my $in=shift; return unpack('V',pack('C4',reverse (unpack('C4',pack('V',$in))))); } It is indeed a reversal of bytes (0xAABBCCDD becomes 0xDDCCBBAA for example). That reminds me why I'm not too fond of Perl either. :) I haven't d...
[Read More]