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
Modern browsers allow a regular ArrayBuffer as well as a SharedArrayBuffer to be passed to the constructor of DataView. Currently, the wasm-bindgen version DataView allow only a ArrayBuffer to be passed.
Motivation
Modern browsers allow a regular
ArrayBuffer
as well as aSharedArrayBuffer
to be passed to the constructor ofDataView
. Currently, the wasm-bindgen versionDataView
allow only aArrayBuffer
to be passed.See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView/DataView#buffer
Proposed Solution
Update the implementation of
DataView
to accept a&JsValue
instead of a&ArrayBuffer
.Alternatives
N/A
Additional Context
N/A
The text was updated successfully, but these errors were encountered: