PHP Class Pop\Compress\Bzip2

Author: Nick Sagona, III ([email protected])
Show file Open project: nicksagona/PopPHP Class Usage Examples

Public Methods

Method Description
compress ( string $data, integer $block = 9 ) : mixed Static method to compress data
decompress ( string $data ) : mixed Static method to decompress data

Method Details

compress() public static method

Static method to compress data
public static compress ( string $data, integer $block = 9 ) : mixed
$data string
$block integer
return mixed

decompress() public static method

Static method to decompress data
public static decompress ( string $data ) : mixed
$data string
return mixed