A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/apis/file/MSStreamReader/readAsBlob below:

readAsBlob ยท WebPlatform Docs

readAsBlob Summary

Performs an asynchronous read of an MSStream object in order to create a Blob object.

Method of apis/file/MSStreamReaderapis/file/MSStreamReader

Syntax
 MSStreamReader.readAsBlob();
Parameters stream
Data-type
Blob

The MSStream object to read.

maxSize
Data-type
Number

(Optional)

String that specifies the maximum size of the object to read.

Return Value

No return value

Notes

The readAsBlob method is used by msStreamReader to create a Blob object from an MSStream. When the read begins, the readyState property is set to the LOADING state on MSStreamReader and the onloadstart event is fired. Progress for the read is monitored by the onprogress event. When the read completes, the onloadend event fires and readyState is set to DONE and MSStreamReader.result returns the new Blob object. A read operation can be interrupted if an error occurs or the abort method is run. If an error occurs, the onloadend event sets the readyState to DONE, and passes the error using the error property.

Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4