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.
1 parent 881c932 commit 90bcb94Copy full SHA for 90bcb94
doc/api/n-api.md
@@ -2532,7 +2532,8 @@ napi_status napi_get_typedarray_info(napi_env env,
2532
* `[out] length`: The number of elements in the `TypedArray`.
2533
* `[out] data`: The data buffer underlying the `TypedArray` adjusted by
2534
the `byte_offset` value so that it points to the first element in the
2535
- `TypedArray`.
+ `TypedArray`. If the length of the array is 0 this may be NULL or any
2536
+ other pointer value.
2537
* `[out] arraybuffer`: The `ArrayBuffer` underlying the `TypedArray`.
2538
* `[out] byte_offset`: The byte offset within the underlying native array
2539
at which the first element of the arrays is located. The value for the data
0 commit comments