开发者

How to pass JavaScript typed arrays to Java applet through LiveConnect?

开发者 https://www.devze.com 2023-03-09 13:40 出处:网络
I\'m trying to pass ArrayBuffer to Java applet, but cannot guess how to do it. It\'s pretty easy to ha开发者_如何转开发ndle standard JS arrays and they work fine for Sun\'s plugin (not for IcedTea). I

I'm trying to pass ArrayBuffer to Java applet, but cannot guess how to do it. It's pretty easy to ha开发者_如何转开发ndle standard JS arrays and they work fine for Sun's plugin (not for IcedTea). I can pass ArrayBuffer as Object or JSObject, but can't get to the array's data.

Any ideas? Thanks.

0

精彩评论

暂无评论...
验证码 换一张
取 消