DenoDDeno
Powered by
kittyK
Denoβ€’2y agoβ€’
8 replies
kitty

Deno.UnsafeCallback Error (bypass string from c++ to deno)

I want to get string from c++.
(c++ -> deno works fine.)

I got error like this. in bellow code.

"[JS] Error in callback: TypeError: Failed to execute 'decode' on 'TextDecoder': Argument 1 is not an ArrayBuffer, SharedArrayBuffer, or a view on one"

Can anyone help me?
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Deno + Vite + DenoKV
AndiAAndi / help
2y ago
error: deno task couldn't find deno.json(c) on GitHub Action
OokerOOoker / help
16mo ago
How to go from a JS string[] to a C array of pointers
carragomCcarragom / help
2y ago
Migrating from Node to Deno
DuncanDDuncan / help
15mo ago