Hey everyone,
Is there another place I can find these Inheritence / Collaboration graphs
at nodesource?
https://v8docs.nodesource.com/node-12.0/da/d3d/classv8_1_1_array_buffer_view.html
I attached a photo of what I see, these photos have been 404 for me for
some time now. Thank you!!
--
--
f it
> were a number (which it is not, it's a ArrayBuffer). Since you have
> established that args[0] is an ArrayBuffer, you can use cast, which would
> look roughly like this:
>
> Local array_buffer = Local::cast(args[0]);
> size_t size = array_buffer->ByteLength();
>
>
Hey everyone!
I am trying to pass an ArrayBuffer from JS to C++, and when I debug the
"size" variable is 0.
I do not understand what I am doing wrong, ultimately my goal is to be able
to read and write the buffer, copy, etc.
Thank you!!
var api = require('../src/public/api')
api.Method(new Arr