Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
napi_create_external_buffer
1 parent 167a21a commit e818455Copy full SHA for e818455
doc/api/n-api.md
@@ -2051,7 +2051,7 @@ napi_status napi_create_external_buffer(napi_env env,
2051
* `[in] env`: The environment that the API is invoked under.
2052
* `[in] length`: Size in bytes of the input buffer (should be the same as the
2053
size of the new buffer).
2054
-* `[in] data`: Raw pointer to the underlying buffer to copy from.
+* `[in] data`: Raw pointer to the underlying buffer to expose to JavaScript.
2055
* `[in] finalize_cb`: Optional callback to call when the `ArrayBuffer` is being
2056
collected. [`napi_finalize`][] provides more details.
2057
* `[in] finalize_hint`: Optional hint to pass to the finalize callback during
0 commit comments