decompressing compressed SFSObjects

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

SirMorfin
Posts: 4
Joined: 15 Sep 2022, 00:01

decompressing compressed SFSObjects

Postby SirMorfin » 15 Sep 2022, 00:07

Hey all! I've been using this product for a couple days now and I've been liking it. I've run into an issue where I need to be able to compress and decompress SFSObjects the way SmartFox does it using my own API, and I can't find anything on it. Is there any way I can do this?
SirMorfin
Posts: 4
Joined: 15 Sep 2022, 00:01

Re: decompressing compressed SFSObjects

Postby SirMorfin » 17 Sep 2022, 18:46

bump
SirMorfin
Posts: 4
Joined: 15 Sep 2022, 00:01

Re: decompressing compressed SFSObjects

Postby SirMorfin » 21 Sep 2022, 13:14

Bump
User avatar
Lapo
Site Admin
Posts: 23007
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: decompressing compressed SFSObjects

Postby Lapo » 21 Sep 2022, 14:28

Hi,
why would you need to do it manually, when it's already done for you by the client API?

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games
SirMorfin
Posts: 4
Joined: 15 Sep 2022, 00:01

Re: decompressing compressed SFSObjects

Postby SirMorfin » 21 Sep 2022, 23:09

I just figured out this problem for myself, I just used the

Code: Select all

 Uncompress();
method under the ByteArray class.

Thank you for your willingness to help!

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 55 guests