We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
napi_create_external_buffer
1 parent 5f131f7 commit 25939ccCopy full SHA for 25939cc
doc/api/n-api.md
@@ -2038,7 +2038,7 @@ napi_status napi_create_external_buffer(napi_env env,
2038
* `[in] env`: The environment that the API is invoked under.
2039
* `[in] length`: Size in bytes of the input buffer (should be the same as the
2040
size of the new buffer).
2041
-* `[in] data`: Raw pointer to the underlying buffer to copy from.
+* `[in] data`: Raw pointer to the underlying buffer to expose to JavaScript.
2042
* `[in] finalize_cb`: Optional callback to call when the `ArrayBuffer` is being
2043
collected. [`napi_finalize`][] provides more details.
2044
* `[in] finalize_hint`: Optional hint to pass to the finalize callback during
0 commit comments