DEFAULT_DEFLATE_LEVEL
DEFAULT_DEFLATE_LEVEL = 6
$largeFileMethod : \ZipStream\Option\Method
How to handle large files. Legal values are Method::STORE() (the default), or Method::DEFLATE(). STORE sends the file raw and is significantly faster, while DEFLATE compresses the file and is much, much slower. Note that DEFLATE must compress the file twice and is extremely slow.
$statFiles : boolean
Enable reading file stat for determining file size.
When a 32-bit system reads file size that is over 2 GB, invalid value appears in file size due to integer overflow. Should be disabled on 32-bit systems with method addFileFromPath if any file may exceed 2 GB. In this case file will be read in blocks and correct size will be determined from content.
setLargeFileMethod(\ZipStream\Option\Method $largeFileMethod)
\ZipStream\Option\Method | $largeFileMethod |