Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

openStream limitation?

 
Eric Low
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why is that the openStream() method seems to never read the whole file as specified in the url var?
The file size is about 6KB, but it almost always read 2400 bytes only. Please help?

Another Q: how do I ensure that all bytes will be read from the input stream into the bute array?
Thanks in advance.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!