yii\i18n\GettextMoFile::readInteger PHP Méthode

readInteger() protected méthode

Reads a 4-byte integer.
protected readInteger ( resource $fileHandle ) : integer
$fileHandle resource to read from
Résultat integer the result
    protected function readInteger($fileHandle)
    {
        $array = unpack($this->useBigEndian ? 'N' : 'V', $this->readBytes($fileHandle, 4));
        return current($array);
    }