Subj : Re: Any documentation or example about the JSXDR API ? To : Patricia Mainguet From : Brendan Eich Date : Thu Feb 06 2003 08:22 am Patricia Mainguet wrote: >Hi, > >I use the JS Engine in a C/C++ application. I would like to store >compiled scripts in external files in order to gain time and >confidentiality. > Confidentiality only from casual snoopers, of course -- the data can be deserialized by anyone who has a compatible JS engine. >It should be possible with the JSXDR API (jsxdrapi.h) but I don't >understand how. Is there any documentation or example about this API ? >Does anyone succeed in using it ? > Your best bet is to read the code and also look at uses such as those shown by http://lxr.mozilla.org/mozilla/search?string=JS_XDR (especially the ones under content/xul). Feel free to ask questions in this newsgroup. /be .