in reply to how does vec() return?
16 x 8 = 128 (i.e. > 64)
With
... for (0..16) { my $value = vec($mask,$_,8); print "$value\n"; }
I do get (as expected):
255 255 255 255 255 255 255 255 0 0 0 0 0 0 0 0 0
In other words, the offset is in units as specified in width (8 bits here).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how does vec() return?
by llancet (Friar) on Sep 26, 2009 at 03:05 UTC |