Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
      my @bytes = reverse sprintf('%016X', $n) =~ s/^(?:00)*\B//r =~ /../g
    +;
      print "$n => @bytes\n";
      }
    
  2. or download this
    0 => 00
    2 => 02
    ...
    2000 => D0 07
    20000 => 20 4E
    200000 => 40 0D 03