當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Transform::toInt32BE方法代碼示例

本文整理匯總了PHP中Transform::toInt32BE方法的典型用法代碼示例。如果您正苦於以下問題:PHP Transform::toInt32BE方法的具體用法?PHP Transform::toInt32BE怎麽用?PHP Transform::toInt32BE使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Transform的用法示例。


在下文中一共展示了Transform::toInt32BE方法的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: __toString

 /**
  * Returns the frame raw data.
  *
  * @return string
  */
 public function __toString()
 {
     $this->setData(Transform::toInt32BE($this->_minOffset));
     return parent::__toString();
 }
開發者ID:AsteriaGamer,項目名稱:steamdriven-kohana,代碼行數:10,代碼來源:SEEK.php

示例2: __toString

 /**
  * Returns the frame raw data.
  *
  * @return string
  */
 public function __toString()
 {
   $this->setData
     (substr(Transform::toUInt32BE($this->_bufferSize), 1, 3) .
      Transform::toInt8($this->_infoFlags) .
      Transform::toInt32BE($this->_offset));
   return parent::__toString();
 }
開發者ID:rtdean93,項目名稱:therock,代碼行數:13,代碼來源:RBUF.php

示例3: __toString

 /**
  * Returns the frame raw data.
  *
  * @return string
  */
 public function __toString()
 {
     $data = Transform::toInt8($this->_format);
     sort($this->_events);
     foreach ($this->_events as $timestamp => $type) {
         $data .= Transform::toInt8($type) . Transform::toInt32BE($timestamp);
     }
     $this->setData($data);
     return parent::__toString();
 }
開發者ID:AsteriaGamer,項目名稱:steamdriven-kohana,代碼行數:15,代碼來源:ETCO.php

示例4: __toString

 /**
  * Returns the frame raw data.
  *
  * @return string
  */
 public function __toString()
 {
     $this->setData(substr(Transform::toInt32BE($this->_size) << 8, 0, 3) . Transform::toInt8($this->_flags) . Transform::toInt32BE($this->_offset));
     return parent::__toString();
 }
開發者ID:AsteriaGamer,項目名稱:steamdriven-kohana,代碼行數:10,代碼來源:RBUF.php

示例5: __toString

 /**
  * Returns the frame raw data.
  *
  * @return string
  */
 public function __toString()
 {
     $this->setData($this->_counter > 4294967295 ? Transform::toInt64BE($this->_counter) : Transform::toInt32BE($this->_counter));
     return parent::__toString();
 }
開發者ID:AsteriaGamer,項目名稱:steamdriven-kohana,代碼行數:10,代碼來源:PCNT.php

示例6: __toString

 /**
  * Returns the frame raw data.
  *
  * @return string
  */
 public function __toString()
 {
     $this->setData($this->_owner . "" . Transform::toInt8($this->_rating) . ($this->_counter > 4294967295 ? Transform::toInt64BE($this->_counter) : ($this->_counter > 0 ? Transform::toInt32BE($this->_counter) : 0)));
     return parent::__toString();
 }
開發者ID:AsteriaGamer,項目名稱:steamdriven-kohana,代碼行數:10,代碼來源:POPM.php


注:本文中的Transform::toInt32BE方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。