Sign In Register

How can we help you today?

Start a new topic

Send and retrieve compressed string to Gamesparks

Hello,


I convert my classes to json string and then compress it using LZF compression. The problem is that it creates a string, that when I retrieve it from Gamesparks, the string is corrupted.


Hi Drosatos,


How big is the data you are trying to send up here ? Are you trying to decompress it in Cloud Code and then store it ?


Regards,

LiamĀ 

Thank you for your response Liam. I store it compressed and retrieve it compressed. Size is approximately 200kb. I think I found the culprit. I tried to decompress it inside LogEventReguest... Send(response) immediately after I get in a local string variable. Is something of these response. ScriptData. GetGsData(). GetString() asynchronous?
Login to post a comment