Function script::dom::blob::blob_parts_to_bytes
source · pub fn blob_parts_to_bytes(
blobparts: Vec<ArrayBufferOrArrayBufferViewOrBlobOrString>
) -> Result<Vec<u8>, ()>
Expand description
Extract bytes from BlobParts, used by Blob and File constructor https://w3c.github.io/FileAPI/#constructorBlob