You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Damn. To be completely honest, I don't master the compression algorithm itself. My best idea would be to follow both algorithm and figure out where they start to differ. That's a painful process, and one that I won't be able to do in the very short term; if you're in a rush, that's what I would suggest that you do first.
If you want to reduce the area of failure, you can try the UTF16 Compress/Decompress version for that very string, if it works, that would mean the problem is in the base 64 decoding itself.
When I have time, I'll see if I can spend some time looking into this. Sorry I can't provide faster help.
I have been using the lib for a long time. Nothing but praise.
However, this happens:
LZString.CompressToBase64("1-1072")
// "IwWmAYHYCYA="
LZString.DecompressFromBase64("IwWmAYHYCYA=")
// null
I tried to debug the process and I couldn't find out what could be wrong.
The text was updated successfully, but these errors were encountered: