i was using global.getDotnetRuntime(0).Module.HEAPU8.subarray to get from the pointer on c# side, but in net 10 it change to globalThis.getDotnetRuntime(0).Module.HEAPU8.subarray
i thing is a little more easy to use on javascript and leave it here if another person was using global.