src/Reader.php
protected function readInteger()
    {
        if ($this->littleEndian) {
            $result = unpack('Vint', fread($this->file, 4));
        } else {
            $result = unpack('Nint', fread($this->file, 4));
        }

        return $result['int'];
    }
protected function readInteger()
    {
        if ($this->littleEndian) {
            $result = unpack('Vint', fread($this->file, 4));
        } else {
            $result = unpack('Nint', fread($this->file, 4));
        }

        return $result['int'];
    }
protected function readInteger ( ) { if ( $ this -> littleEndian ) { $ result = unpack ( 'Vint' , fread ( $ this -> file , 4 ) ) ; } else { $ result = unpack ( 'Nint' , fread ( $ this -> file , 4 ) ) ; } return $ result [ 'int' ] ; }
Read a single integer from the current file.

@return int
Read a single integer from the current file .