Skip to content

How to share an ArrayBuffer with c++ and js using JSI without copying? #1264

Answered by tmikov
bendgk asked this question in Q&A
Discussion options

You must be logged in to vote

Are you sure that the buffer size is non-zero when you call jsi::ArrayBuffer? The size of the ArrayBuffer cannot change after creation, it has to be created with its final size.

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@bendgk
Comment options

Answer selected by bendgk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants