Is there any equivalent or open-source library for decompress using LZ String in Ruby ?
Code in Python :
x = lzstring.LZString()
decompress = x.decompressFromEncodedURIComponent("encrypted_data".decode('utf-8'))
Code in PHP :
\LZCompressor\LZString::decompressFromEncodedURIComponent("encrypted_data");
CodePudding user response:
Is there any equivalent or open-source library for decompress using LZ String in Ruby ?
According to author of original (JavaScript) lz-string
Here is a Ruby version, by Altivi: