[][src]Function paddle::load_blob

pub async fn load_blob(url: &str) -> PaddleResult<Blob>

Returns an asynchronous BLOB.

BLOB has the best cross-platform browser compatibility of the fetch API. To use the blob, te File Reader API has the best compatibility, whereas .text() or .arrayBuffer() is not implemented yet on FF mobile (Oct/2020)

Use load_file if you just want a binary vector. (uses load_blob + File Reader API)