Skip to content

Add support for DataView feature #196

Closed

Description

@romandev

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.

  • napi_is_dataview() [1]
  • napi_create_dataview() [2]
  • napi_get_dataview_info() [3]

[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

Activity

  1. romandev commented on Nov 29, 2017

    @romandev
    ContributorAuthor

    @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?

  2. mhdawson commented on Nov 29, 2017

    @mhdawson
    Member

    Sounds good. We should have coverage for all of the things you can do in the core N-API.

  3. romandev commented on Nov 29, 2017

    @romandev
    ContributorAuthor

    Okay, I'll take this :)

  4. added a commit that references this issue on Dec 11, 2017
  5. added a commit that references this issue on Dec 14, 2017
  6. NickNaso commented on Sep 3, 2018

    @NickNaso
    Member

    Hi @romandev,
    what do you think? Could be possible close the issue?

  7. NickNaso commented on Sep 18, 2018

    @NickNaso
    Member

    @romandev
    I think that now that #331* is landed we can close the issue.
    Good work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions