Help for this page

Select Code to Download


  1. or download this
    sub bitextr {
      my $bitstring = shift;
    ...
      return (($bitstring >> $bitnum1) & ($mask));
    }