BLOCK_START
BLOCK_START
This class allows rar files to be read.
compressDirectory(string $directory, array $params = array()) : mixed
Compresses a directory.
string | $directory | The directory to recursively compress. |
array | $params | An array of arguments needed to compress the data. |
The compressed data.
decompress(mixed $data, array $params = array()) : array
Decompresses the data.
mixed | $data | The data to decompress. |
array | $params | An array of arguments needed to decompress the data. |
Info on the compressed file:
KEY: Position in RAR archive VALUES: attr - File attributes date - File modification time csize - Compressed file size method - Compression method name - Filename size - Original file size