- or download this
>> ( $R,$G,$B ) = unpack("nnn", $myNum );
- or download this
@ushort=unpack("S*", $buf); # Extract oodles of UINT16s
- or download this
@UINT48 = unpack("???????", $BUF)
- or download this
>> n An unsigned short (16-bit) in "network" (big-endian) order.
I use 'S' <c>>>S An unsigned short value.<<