node-addon-api icon indicating copy to clipboard operation
node-addon-api copied to clipboard

[Tests] Add test coverage for TypedArrayOf

Open JckXia opened this issue 4 years ago • 4 comments

class methods
TypedArrayOf TypedArrayOf()
TypedArrayOf(napi_env env, napi_value value)
Napi::TypedArrayOf::New(napi_env env, size_t elementLength, napi_typedarray_type type)
Napi::TypedArarayOf::New(napi_env env, size_t elemtLength, Napi::ArrayBuffer arrayBuff, size_t bufferOffset, napi_typedarray_type type)
T& Napi::TypedArrayOf::operator [](size_t index);
const T& Napi::TypedArrayOf::operator [](size_t index) const;
T* Napi::TypedArrayOf::Data() const;
const T* Napi::TypedArrayOf::Data() const

JckXia avatar Apr 27 '21 00:04 JckXia

Will add these tests soon

JckXia avatar Apr 27 '21 00:04 JckXia

This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.

github-actions[bot] avatar Jul 27 '21 00:07 github-actions[bot]

This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.

github-actions[bot] avatar Jan 12 '22 00:01 github-actions[bot]

This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.

github-actions[bot] avatar May 05 '22 00:05 github-actions[bot]

Closing this ticket. We have pre-defined TypedArrayOfs that we have tested using typedarray.cc

JckXia avatar Sep 20 '22 20:09 JckXia