I have a c++ node add on that uses the Nan library. I have a function that needs to return a buffer. The simplest version of it is as follows:
NAN_METHOD(Test