Skip to content
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: clarify use of Uint8Array for n-api #48742

Merged
merged 5 commits into from
Aug 21, 2023

Commits on Jul 12, 2023

  1. doc: clarify use of Uint8Array for n-api

    `napi_get_buffer_info` always supported receiving `Uint8Array` as a
    `value` argument because `node::Buffer` is a subclass of `Uint8Array`
    and the underlying V8 APIs don't distinguish between two. With this
    change we mark both types as supported by the API so that the user code
    doesn't have to unknowingly use oficially unsupported type of the
    `value` argument.
    indutny committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    d664cf3 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2023

  1. Update doc/api/n-api.md

    Co-authored-by: Chengzhong Wu <legendecas@gmail.com>
    indutny and legendecas committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    0bc66ea View commit details
    Browse the repository at this point in the history
  2. update

    indutny committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    2fbc2f1 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2023

  1. format

    indutny committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    24b6365 View commit details
    Browse the repository at this point in the history
  2. fix lint

    indutny committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    4ba8e6f View commit details
    Browse the repository at this point in the history