-
Notifications
You must be signed in to change notification settings - Fork 464
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
Add support for DataView feature #196
Comments
@mhdawson Can I start to work on this? or If we need discussions or agreements, where can I see the process for adding these new APIs? |
Sounds good. We should have coverage for all of the things you can do in the core N-API. |
Okay, I'll take this :) |
romandev
added a commit
to romandev/node-addon-api
that referenced
this issue
Dec 11, 2017
The method is to check if the given value is a data view object. This ia an initial implementation of DataView feature(nodejs#196). This change also adds the NAPI_DATA_VIEW_FEATURE flag to expose only to test modules until all features are implemented.
mhdawson
pushed a commit
that referenced
this issue
Dec 14, 2017
The method is to check if the given value is a data view object. This ia an initial implementation of DataView feature(#196). This change also adds the NAPI_DATA_VIEW_FEATURE flag to expose only to test modules until all features are implemented. PR-URL: #202 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Hitesh Kanwathirtha <hiteshk@microsoft.com>
Hi @romandev, |
romandev
added a commit
to romandev/node-addon-api
that referenced
this issue
Sep 6, 2018
This patch contains the following things: - Add a document for `DataView` feature - Remove NAPI_DATA_VIEW_FEATURE Refs: nodejs#196
romandev
added a commit
to romandev/node-addon-api
that referenced
this issue
Sep 6, 2018
This patch contains the following things: - Add a document for `DataView` feature - Remove NAPI_DATA_VIEW_FEATURE Refs: nodejs#196
romandev
added a commit
to romandev/node-addon-api
that referenced
this issue
Sep 6, 2018
This patch contains the following things: - Add a document for `DataView` feature - Remove NAPI_DATA_VIEW_FEATURE Refs: nodejs#196
kevindavies8
added a commit
to kevindavies8/node-addon-api-Develop
that referenced
this issue
Aug 24, 2022
This patch contains the following things: - Add a document for `DataView` feature - Remove NAPI_DATA_VIEW_FEATURE Refs: nodejs/node-addon-api#196 PR-URL: nodejs/node-addon-api#331 Refs: nodejs/node-addon-api#196 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@NickNaso.local>
Marlyfleitas
added a commit
to Marlyfleitas/node-api-addon-Development
that referenced
this issue
Aug 26, 2022
This patch contains the following things: - Add a document for `DataView` feature - Remove NAPI_DATA_VIEW_FEATURE Refs: nodejs/node-addon-api#196 PR-URL: nodejs/node-addon-api#331 Refs: nodejs/node-addon-api#196 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@NickNaso.local>
wroy7860
added a commit
to wroy7860/addon-api-benchmark-node
that referenced
this issue
Sep 19, 2022
This patch contains the following things: - Add a document for `DataView` feature - Remove NAPI_DATA_VIEW_FEATURE Refs: nodejs/node-addon-api#196 PR-URL: nodejs/node-addon-api#331 Refs: nodejs/node-addon-api#196 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@NickNaso.local>
johnfrench3
pushed a commit
to johnfrench3/node-addon-api-git
that referenced
this issue
Aug 11, 2023
This patch contains the following things: - Add a document for `DataView` feature - Remove NAPI_DATA_VIEW_FEATURE Refs: nodejs/node-addon-api#196 PR-URL: nodejs/node-addon-api#331 Refs: nodejs/node-addon-api#196 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@NickNaso.local>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
DataView
objects provide an array-like view over an underlying data buffer, but one which allows items of different size and type in the ArrayBuffer.So, we should provide wrapper implementation for the following APIs.
[1] https://nodejs.org/dist/latest-v8.x/docs/api/n-api.html#n_api_napi_is_dataview
[2] https://nodejs.org/dist/latest-v8.x/docs/api/n-api.html#n_api_napi_create_dataview
[3] https://nodejs.org/dist/latest-v8.x/docs/api/n-api.html#n_api_napi_get_dataview_info
The text was updated successfully, but these errors were encountered: