Help for this page

Select Code to Download


  1. or download this
    my $bps = 32;
    my $fmt = 3;
    ...
    my $t = $template{ "$bps,$fmt" }
        or die "Couldn't find an unpack template for $bps BPS, format $fmt
    +";
    my @samples = unpack $template, $rawdata;