クラス POMO_Reader:: readint32()
クラス POMO_Reader:: readint32()
定義ファイル :/blog/wp-includes/pomo/streams.php
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | /** * Reads a 32bit Integer from the Stream * * @return mixed The integer, corresponding to the next 32 bits from * the stream of false if there are not enough bytes or on error */ 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 array_shift($int); } |