Help for this page

Select Code to Download


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