Decompress LZString in Ruby

Viewed 28

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");
1 Answers
Related