unpack('H2',$char)=~/(.)(.)/; $swapped_char=pack('H2',"$2$1");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Nibble swap
by jmcnamara (Monsignor) on Sep 28, 2002 at 00:32 UTC | |
|
Re: Nibble swap
by Aristotle (Chancellor) on Oct 04, 2002 at 20:13 UTC | |
by blakem (Monsignor) on Oct 04, 2002 at 20:45 UTC | |
by Aristotle (Chancellor) on Oct 04, 2002 at 20:53 UTC |