protected function data2hex ($temp)
   {
      $data = "";
      for ($i=0; $i<$this->dataLength($temp); $i++)
         $data.=sprintf("%02X",$temp[$i]);
      return $data;
   }
protected function data2hex ($temp)
   {
      $data = "";
      for ($i=0; $i<$this->dataLength($temp); $i++)
         $data.=sprintf("%02X",$temp[$i]);
      return $data;
   }
protected function data2hex ( $ temp ) { $ data = "" ; for ( $ i = 0 ; $ i < $ this -> dataLength ( $ temp ) ; $ i ++ ) $ data .= sprintf ( "%02X" , $ temp [ $ i ] ) ; return $ data ; }
convert array of two byte integers to high endian hexadecimal string
@param array $temp
@return string
convert array of two byte integers to high endian hexadecimal string