in reply to Re^2: array of binaries to hex conversion
in thread array of binaries to hex conversion
MSB should pad '0' for right side, not left side, doesn't it ? my @rand1 = qw( 1 ); this currenty goes "00000000000000000000000000000001". Is it OK?
How/what?
How oct insures it is MSB and 32bit big endian?
I don't think it does :) but I stick with pack
This ***might*** shed a little light
http://perl5.git.perl.org/perl.git?a=search&h=HEAD&st=grep&s=pp_oct
-> http://perl5.git.perl.org/perl.git/blob?f=pp.c#l2824
http://perl5.git.perl.org/perl.git?a=search&h=HEAD&st=grep&s=grok_bin
-> http://perl5.git.perl.org/perl.git/blob?f=numeric.c#l141
-> http://perldoc.perl.org/perlapi.html#grok_bin
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: array of binaries to hex conversion
by remiah (Hermit) on Sep 12, 2012 at 11:44 UTC |