本文整理汇总了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();
}