SFSDataSerializer is not exposed for use

Post here your questions about the HTML5 / JavaScript for SFS2X

Moderators: Lapo, Bax

abcd
Posts: 15
Joined: 11 Jan 2008, 18:26

SFSDataSerializer is not exposed for use

Postby abcd » 06 Sep 2017, 19:25

I need to serialize SFSObject using methods object2binary and binary2object on SFSDataSerializer , but they are not available in JS API. Could you exposed them ?
Also docs for SFSDataSerializer not works. ( http://docs2x.smartfoxserver.com/api-docs/jsdoc/client/SFSDataSerializer.html#.instance and http://docs2x.smartfoxserver.com/api-docs/jsdoc/client/SFSDataSerializer.html#decodeObject )
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: SFSDataSerializer is not exposed for use

Postby Bax » 07 Sep 2017, 07:40

I'm sorry, but those methods can't be exposed, because you are not supposed to use them.
Can you describe you use case scenario?
Also, where did you find those links? If they appear somewhere in the documentation, we should remove them.
Thanks.
Paolo Bax
The SmartFoxServer Team

Return to “SFS2X HTML5 / JavaScript API”

Who is online

Users browsing this forum: No registered users and 17 guests