Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

readAsDataURL method

This topic replaced by the readAsDataURL topic.Reads a MSStreamReader object into memory as a data URL string.

Internet Explorer 10

Syntax

MSStreamReader.readAsDataURL(stream, size);

Parameters

stream [in]

Type: MSStream

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.

Return value

This method does not return a value.

Remarks

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.

See also

MSStreamReader

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.