X Tutup
The Wayback Machine - https://web.archive.org/web/20201231110647/https://github.com/nodejs/node-addon-examples/issues/145
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please provide example of napi operate arraybuffer. #145

Open
gzx-miller opened this issue Jul 10, 2020 · 0 comments
Open

Please provide example of napi operate arraybuffer. #145

gzx-miller opened this issue Jul 10, 2020 · 0 comments

Comments

@gzx-miller
Copy link

@gzx-miller gzx-miller commented Jul 10, 2020

Please provide example of napi operate arraybuffer.
I want show ffmpeg decoded image to electron canvas.
So, I tried create a ArrayBuffer in js, then pass as param in napi function.
then, I load ffmpeg to decode image one by one,
but there is no clear way to copy image memory to this ArrayBuffer in napi one by one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.
X Tutup