I have a native NodeJS addon that accepts a Buffer
instance as one of it\'s arguments.
I\'m able to convert a char
array into a Buffer
Maybe I'm late, but the following code should work:
#include
#include
void Test(const FunctionCallbackInfo& args)
{
Local
Reference: