Binary data to javaScript

Shaun Savage <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpcom
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Hi

How do you get binary data from XPCOM to JavaScript.  I am tring to do 
it as a string (in idl).

string func(in string binobj, out long len)

where len is the length of return string (really binary)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.