Thread Hex compression (2 answers)
Opened by Floreichy at 2011-07-01 13:05

rosti
 2011-07-01 13:45
#150070 #150070
User since
2011-03-19
3476 Artikel
BenutzerIn
[Homepage]
user image
Use the pack()-Function:

Code (perl): (dl )
my $bytes = pack "N", 0xF89a0010;


What you get: 4 Bytes in Network-Order (32-bit-integer, value see above).

--Rosti

View full thread Hex compression