Again it is not possible. The Javascript language doesn't provide native Stream class. And the documentation never states it was a Javascript function...
Currently i am developing a web application, but i only have stream data on hand. is there any suggestion that i can make use of the gdviewer to embed to the web and yet still use the stream data or byte Array.