POMO_Reader::readint32()
最后更新于:2021-11-25 22:28:40
POMO_Reader::readint32()Reads a 32bit Integer from the Stream
响应
(mixed) The integer, corresponding to the next 32 bits from the stream of false if there are not enough bytes or on error
源文件
文件: gc-includes/pomo/streams.php
function readint32() {
$bytes = $this->read( 4 );
if ( 4 != $this->strlen( $bytes ) ) {
return false;
}
$endian_letter = ( 'big' === $this->endian ) ? 'N' : 'V';
$int = unpack( $endian_letter, $bytes );
return reset( $int );
}