You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
N-API currently has APIs for ArrayBuffer and TypedArray classes, but not the DataView class. The DataView class is specified by ES6 as another kind of view over an ArrayBuffer.
While it could be possible to extend (and rename?) napi_create_typedarray() and napi_get_typedarray_info() to also support DataView objects, I think the combination would be too confusing, because a DataView doesn't have a type, and measures length in terms of bytes instead of elements. So, probably there should be separate APIs:
Activity
jasongin commentedon Mar 27, 2017
Related to nodejs/node#11975 (comment)
mhdawson commentedon Jun 26, 2017
nodejs/node#13926
shivanth commentedon Jun 29, 2017
I'm taking this up :-)
digitalinfinity commentedon Jun 29, 2017
@shivanth thanks- might want to comment on nodejs/node#13926 so that people there know 😄
digitalinfinity commentedon Aug 31, 2017
Landed in nodejs/node#14382