On this page
POMO_Reader::readint32array( int $count ): mixed
Reads an array of 32-bit Integers from the Stream
Parameters
$countint Required-
How many elements should be read
Return
mixed Array of integers or false if there isn't enough data or on error
Source
File: wp-includes/pomo/streams.php. View all references
public function readint32array( $count ) {
$bytes = $this->read( 4 * $count );
if ( 4 * $count != $this->strlen( $bytes ) ) {
return false;
}
$endian_letter = ( 'big' === $this->endian ) ? 'N' : 'V';
return unpack( $endian_letter . $count, $bytes );
}
Related
Uses
| Uses | Description |
|---|---|
| POMO_Reader::strlen() wp-includes/pomo/streams.php |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/pomo_reader/readint32array