Assemblyscript initializes typed arrays with their length, like this:
var arr = new Uint8Array(2);
Suppose I want to seed this array with some values, like [12, -47, 91], how would I do it?
Assemblyscript initializes typed arrays with their length, like this:
var arr = new Uint8Array(2);
Suppose I want to seed this array with some values, like [12, -47, 91], how would I do it?