We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Blob.prototype.bytes
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
Spec: https://w3c.github.io/FileAPI/#ref-for-dom-blob-bytes
wasm-bindgen/crates/web-sys/webidls/enabled/Blob.webidl
Lines 32 to 36 in c35cc93
This would be nice to have, as it allows directly going from Blob to Uint8Array, skipping the ArrayBuffer step.
Blob
Uint8Array
ArrayBuffer
If it's just a matter of updating the Web IDL and nobody has anything against it, I'd be down to open a PR!
The text was updated successfully, but these errors were encountered:
feat(Blob): add Blob.bytes() method
Blob.bytes()
9402ae3
WebIDL source: <https://w3c.github.io/FileAPI/#blob-section> Docs: <https://developer.mozilla.org/en-US/docs/Web/API/Blob/bytes> Fixes rustwasm#4475
Successfully merging a pull request may close this issue.
Spec: https://w3c.github.io/FileAPI/#ref-for-dom-blob-bytes
wasm-bindgen/crates/web-sys/webidls/enabled/Blob.webidl
Lines 32 to 36 in c35cc93
This would be nice to have, as it allows directly going from
Blob
toUint8Array
, skipping theArrayBuffer
step.If it's just a matter of updating the Web IDL and nobody has anything against it, I'd be down to open a PR!
The text was updated successfully, but these errors were encountered: