[quickjs-devel] Create Uint8Array

  • From: Andrew Chambers <andrewrchambers@xxxxxxxxx>
  • To: quickjs-devel@xxxxxxxxxxxxx
  • Date: Thu, 19 Mar 2020 23:03:24 +0000

I'd like to expose uint8_t array from native to JS as a Uint8Array

I know there is JS_NewArrayBuffer to create an arraybuffer. Is there a way
to create a uint8array or do I need to implement it?

Thanks.

Other related posts: