js-deflate
js-deflate copied to clipboard
how to inflate this with php?
have you any idea how to decompress using php? is this standard protocol DEFLATE? i tried with http://php.net/manual/en/function.gzinflate.php but it doesnt work.
JS: btoa(RawDeflate.deflate(encodeURIComponent(chunk)))
PHP: urldecode(gzinflate(base64_decode($chunk)))
It still returns errors on some specific cases but it mostly works.