Sharing byte array between JS and C++ using JSI #256
Unanswered
DImuthuUpe
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Folks,
I am trying to find the documentation on how to perform memory sharing of a byte array (or buffer) between JS and C++ sides using JSI. My use cases is, I have a bitmap generation algorithm implemented using C++ and I need to pass generated bitmaps to JS side to render on a canvas. This bitmap data object should be able to directly accessible to JS side without additional data copying. Please let me know if this is possible now and any existing example / documentation is greatly appreciated
Beta Was this translation helpful? Give feedback.
All reactions