Help for this page

Select Code to Download


  1. or download this
    [0] Perl> print unpack 'B8', chr(65);;
    01000001
    
    [0] Perl> print unpack 'b8', chr(65);;
    10000010
    
  2. or download this
    ## spacing and annotation added manually...
    
    ...
    [0] Perl> print unpack 'B*', "\x12\x34";;
    0001 0010 0011 0100
       1    2    3    4