Hi ZoneRunner,
Here's a sample:
The
Good luck!
Here's a sample:
// using Microsoft.ClearScript.JavaScript; engine.Execute("values = new Uint8Array([1, 2, 3, 4, 5])"); var values = (ITypedArray<byte>)engine.Script.values; Console.WriteLine(string.Join(", ", values.ToArray()));
ITypedArray
interface also has methods for transferring array elements to and from existing .NET arrays.Good luck!