- stream [in]
- size [in, optional]
Type: signed long long
The optional length parameter specifies the number of bytes that will be read from the specified MSStream object. If the length parameter is not specified the read operation will continue until the end of the MSStream object is reached.
This method does not return a value.
This method asynchronously starts reading the contents of the specified MSStream object. When the read operation is complete, the readyState property is set to DONE and the onloadend event is fired. At that time, the result property contains a data URL string that encodes the file's data that was read.