PHPZip\Zip\File\Zip::getArchiveSize PHP Method

getArchiveSize() public method

Return the current size of the archive
Author: A. Grandt ([email protected])
public getArchiveSize ( ) : integer
return integer Size of the archive
    public function getArchiveSize() {
        if (!is_resource($this->_zipFile)) {
            return BinStringStatic::_strlen($this->_zipData);
        }

        $stat = fstat($this->_zipFile);
        return $stat['size'];
    }