Leser: 1
9 Einträge, 1 Seite |
D:\>perl -e "$d=0b01010101; printf qq(%08b),$d"
printf "%b", $d;
1
2
3
4
5
6
7
8
9
10
11
12
$b1=0b_10101010;
#$b2=0b_01010101;
$B1=pack("C",85);
$B2=pack("C",170);
$B3=pack("C",0);
printf "%b\n",$b1;
printf "%b\n",$B1;
printf "%b\n",$B2;
printf "%b\n",$B3;
perl -e'$foo = pack "C", 65; print unpack("B*",$foo), "\n"'
perl -e'$foo = 256; printf( "%b\n", $foo )'
9 Einträge, 1 Seite |