-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
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
doc: document AliasedBuffer in C++ style guide #22977
Labels
doc
Issues and PRs related to the documentations.
Comments
4 tasks
gireeshpunathil
added a commit
to gireeshpunathil/node
that referenced
this issue
Dec 2, 2018
Explain usage context and scope of AliasedBuffer API and its function in the C++ style guide. Provide an example code. Fixes: nodejs#22977
Fixed in 447b390 |
Trott
pushed a commit
to Trott/io.js
that referenced
this issue
Dec 4, 2018
Explain usage context and scope of AliasedBuffer API and its function in the C++ style guide. Provide an example code. Fixes: nodejs#22977 PR-URL: nodejs#24724 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
refack
pushed a commit
to refack/node
that referenced
this issue
Jan 14, 2019
Explain usage context and scope of AliasedBuffer API and its function in the C++ style guide. Provide an example code. Fixes: nodejs#22977 PR-URL: nodejs#24724 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The actual API is documented in https://github.com/nodejs/node/blob/master/src/aliased_buffer.h but it would be good to have a note in the style guide about trying not to create regular typed arrays in C++ if they are going to be used to pass data out of band.
The text was updated successfully, but these errors were encountered: