var State = object.readyState;
When anMSStreamReader object is created, the readyState is set to
EMPTY. When there is a call to a read method, the state is set to
LOADING. If readyState is set to
DONE, it means that read operation has completed.
|EMPTY||0||The FileReader or MSStreamReader object has been constructed, and there are no pending reads. This is the default state of a newly created FileReader object, until one of the read methods has been called on it.|
|LOADING||1||One of the read methods is being processed, and no error has occurred during the read.|
|DONE||2||The read operation has completed. The entire File, Blob, or MSStream has been read into memory, a file error occurred during read, or the read was aborted using the abort method.|