Darin Fisher wrote:
ACString can be used to implement this sort of thing. It has the property that elements of the array can be 0, so it can be used to pass "byte array" values. When converting an ACString to a JS string, XPConnect inflates each byte to a double-byte value, setting the upper byte to zero. When converting the other direction, the upper byte is truncated. If the JS consumer treats each element of the JS string as a byte of binary data, then it can be made to work pretty well.

Is there another hack for passing/returning an array of nsISupports instead of bytes?

Thanks.

David
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to