LS String PHP lib added

To compress and decompress strings with LZ compression
This commit is contained in:
Matt Pass
2016-03-16 18:30:21 +00:00
parent 9bac1d7fcc
commit c6e72fd894
5 changed files with 551 additions and 0 deletions

29
LZCompressor/LZData.php Normal file
View File

@@ -0,0 +1,29 @@
<?php
namespace LZCompressor;
class LZData
{
/**
* @var
*/
public $str = '';
/**
* @var
*/
public $val;
/**
* @var int
*/
public $position = 0;
/**
* @var int
*/
public $index = 1;
public function append($str) {
$this->str .= $str;
}
}