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?
Was this page helpful?