We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v0.11 added proper support for using the original char* by adding node::Buffer::Use().
char*
node::Buffer::Use()
The same effect can be accomplished pre-v0.11 by passing a callback to Buffer::New() and just freeing the data passed to the callback. For an example check out the use of SessionDataFree here: https://github.com/joyent/node/blob/v0.10/src/node_crypto.cc#L271-L294
Buffer::New()
SessionDataFree
The text was updated successfully, but these errors were encountered:
this is NanBufferUse() right? closing.
NanBufferUse()
Sorry, something went wrong.
No branches or pull requests
v0.11 added proper support for using the original
char*
by addingnode::Buffer::Use()
.The same effect can be accomplished pre-v0.11 by passing a callback to
Buffer::New()
and just freeing the data passed to the callback. For an example check out the use ofSessionDataFree
here: https://github.com/joyent/node/blob/v0.10/src/node_crypto.cc#L271-L294The text was updated successfully, but these errors were encountered: