You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I read a file var list = await file.readAsBytes(); and want to copy it to clang Pointer<Uint8> buf = malloc.allocate(list.length);. I know I can do it for (var i = 0; i < list.length; i++) buf.elementAt(i).value = list[i];. Is there anther method to do it just like clang memcpy?
The text was updated successfully, but these errors were encountered:
I read a file
var list = await file.readAsBytes();
and want to copy it to clangPointer<Uint8> buf = malloc.allocate(list.length);
. I know I can do itfor (var i = 0; i < list.length; i++) buf.elementAt(i).value = list[i];
. Is there anther method to do it just like clangmemcpy
?The text was updated successfully, but these errors were encountered: