クラス POMO_Reader::readint32array()
POMO_Reader::readint32array()
クラス POMO_Reader::readint32array()
定義ファイル :/blog/wp-includes/pomo/streams.php
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | /** * Reads an array of 32-bit Integers from the Stream * * @param integer count How many elements should be read * @return mixed Array of integers or false if there isn't * enough data or on error */ 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); } |