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.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I find myself needing to do these casts all the time and I think we should add these to the package.
Really these two types are the same type and making them different was a JavaScript design mistake.
fromUint8Array :: Uint8Array -> Effect DataView fromUint8Array x = DV.part (AT.buffer x) (AT.byteOffset x) (AT.byteLength x) toUint8Array :: DataView -> Effect Uint8Array toUint8Array x = AT.part (DV.buffer x) (DV.byteOffset x) (DV.byteLength x)
The text was updated successfully, but these errors were encountered:
Maybe castDataView, castUint8Array.
castDataView
castUint8Array
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Uh oh!
There was an error while loading. Please reload this page.
I find myself needing to do these casts all the time and I think we should add these to the package.
Really these two types are the same type and making them different was a JavaScript design mistake.
The text was updated successfully, but these errors were encountered: