protected function hex2data($temp)
   {
      $data = array();
      $len = strlen($temp);
      for ($i=0;$i<$len;$i+=2)
         $data[(int)($i/2)]= hexdec(substr($temp,$i,2));
      return $data;
   }
protected function hex2data($temp)
   {
      $data = array();
      $len = strlen($temp);
      for ($i=0;$i<$len;$i+=2)
         $data[(int)($i/2)]= hexdec(substr($temp,$i,2));
      return $data;
   }
protected function hex2data ( $ temp ) { $ data = array ( ) ; $ len = strlen ( $ temp ) ; for ( $ i = 0 ; $ i < $ len ; $ i += 2 ) $ data [ ( int ) ( $ i / 2 ) ] = hexdec ( substr ( $ temp , $ i , 2 ) ) ; return $ data ; }
convert high endian hexadecimal string to array of two byte integers
@param string $temp
@return array
convert high endian hexadecimal string to array of two byte integers