On Sat, Oct 27, 2012 at 9:55 PM, Henri Tuhola <
henri....@gmail.com> wrote:
> I'd need to pass some binary data out of an addon, but node.js addon
> documentation doesn't seem to cover it.
>
> This is what I'm working on:
https://github.com/cheery/node-video
>
> node-video needs the buffer objects to provide composite/native window
> handles that can be transferred over unix sockets.
>
> The link mentions webgl. There seems to be two authors who have tried to
> provide WebGL bindings to node.js a year ago, but I don't know whether
> either of their approach to TypedArray or Image do any good. Some of the
> bindings can be copied along though. :)
node.js supports typed arrays. This issue[1] contains an example on
how to interact with them from C++ code. There is also the Buffer