framework/i18n/GettextMoFile.php
protected function writeInteger($fileHandle, $integer)
    {
        return $this->writeBytes($fileHandle, pack($this->useBigEndian ? 'N' : 'V', (int) $integer));
    }
protected function writeInteger($fileHandle, $integer)
    {
        return $this->writeBytes($fileHandle, pack($this->useBigEndian ? 'N' : 'V', (int) $integer));
    }
Writes a 4-byte integer.
@param resource $fileHandle to write to
@param int $integer to be written
@return int how many bytes are written