PHPZip\Zip\File\Zip::zipVerifyMemBuffer PHP Method

zipVerifyMemBuffer() public method

Verify if the memory buffer is about to be exceeded.
Author: A. Grandt ([email protected])
public zipVerifyMemBuffer ( integer $gzLength )
$gzLength integer length of the pending data.
    public function zipVerifyMemBuffer($gzLength) {
        if (!is_resource($this->_zipFile) && ($this->offset + $gzLength) > self::MEMORY_THRESHOLD) {
            $this->zipFlush();
        }
    }