Open chqrlie opened 1 month ago
Perhaps we should revisit the Uint8Array specific functions we added at some point.
Perhaps we should revisit the
Uint8Array
specific functions we added at some point.
Indeed, I am not sure about the arguments to C API JS_NewTypedArray
. It should probably take a length and a const void *
to optionally initialize the array contents.
Shall we land this? We can improve the APIs once in?
cherry-picked 2 simple commits from upstream: