Skip to main content

Module blob_bytes

Module blob_bytes 

Source
Expand description

Reading bytes back out of a Blob or File.

The classes are the vendored ones (crate::buffer); this is the synchronous accessor the request-body and form-data paths need, which the JS surface only exposes as promises.

Functions§

blob_parts
Bytes + MIME type of a value that is a Blob — or a File, which is one.
file_parts
Bytes + MIME type + filename of a value that is a File.