Hi Guys, this is a simple issue but I cannot get it to work. I need to create a byte array on the javascript side but I´m getting the following error depending on the type I use:
byte is not a function
I´ve tried the following:
var message = new byte[4096];
var message = new System.Byte[4096];
var message = host.newVar(System.Byte[4096]);
Obviously I am doing something wrong and clearscript works differentrly with arrays.
Can someone help me?. Thanks.
byte is not a function
I´ve tried the following:
var message = new byte[4096];
var message = new System.Byte[4096];
var message = host.newVar(System.Byte[4096]);
Obviously I am doing something wrong and clearscript works differentrly with arrays.
Can someone help me?. Thanks.