Help for this page

Select Code to Download


  1. or download this
    for my $i (0..20) {
        vec( $bitstring, $offset++, 4 ) = $i ;
    }
    
  2. or download this
    my $bits = unpack("A4*", $bitstring);
    
  3. or download this
    print unpack("b*",$bitstring);
    
  4. or download this
    0000100001001100001010
    1001101110000110010101
    1101001110110111111100
    0010000100110000100000
    
  5. or download this
    print unpack("h*",$bitstring);
    
  6. or download this
    0123456789abcdef012340