Thread
alle byte im 32Bit vertauschen
(11 answers)
Opened by piet at
2013-12-19 18:20
Gast R.
2013-12-19 18:48
Code (perl): (
dl
)
sub
swap_bytes
{
shift
;
pack
(
q
{
v
*
}
,
unpack
(
q
{
n
*
}
,
$_
))
}
Last edited: 2013-12-19 18:55:17 +0100 (CET)
View full thread
alle byte im 32Bit vertauschen