Uses
| Uses | Description |
|---|---|
| wp-includes/pomo/streams.php: POMO_Reader::strlen() |
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
File: wp-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 );
}
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/pomo_reader/readint32