napi_status napi_get_dataview_info(napi_env env,napi_value dataview,size_t* byte_length,void** data,napi_value* arraybuffer,size_t* byte_offset)
[in] env: The environment that the API is invoked under.[in] dataview:napi_valuerepresenting theDataViewwhose properties to query.[out] byte_length:Numberof bytes in theDataView.[out] data: The data buffer underlying theDataView. If byte_length is0, this may beNULLor any other pointer value.[out] arraybuffer:ArrayBufferunderlying theDataView.[out] byte_offset: The byte offset within the data buffer from which to start projecting theDataView.
Returns napi_ok if the API succeeded.
This API returns various properties of a DataView.
