yii\i18n\GettextMoFile::readBytes PHP 메소드

readBytes() 보호된 메소드

Reads one or several bytes.
protected readBytes ( resource $fileHandle, integer $byteCount = 1 ) : string
$fileHandle resource to read from
$byteCount integer to be read
리턴 string bytes
    protected function readBytes($fileHandle, $byteCount = 1)
    {
        if ($byteCount > 0) {
            return fread($fileHandle, $byteCount);
        } else {
            return null;
        }
    }