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");
My Answer:
encoded_string)Code in Ruby :_lzstring = LZString.new_# decompress encoded stringdecoded_string = lzstring.decompress(encoded_string)
Rate this post
5 of 5 based on 9724 votesComments