Closed mmomtchev closed 2 years ago
There are 2 cases where this is needed:
There already is a corresponding node::Buffer::New method that implements this
node::Buffer::New
In fact, this already exists, Nan::NewBuffer has an optional node::Buffer::FreeCallback argument
Nan::NewBuffer
node::Buffer::FreeCallback
There are 2 cases where this is needed:
There already is a corresponding
node::Buffer::New
method that implements this