本文整理匯總了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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}