Hi guys, could somebody share his wisdom on mozilla streams with me, please? I am having problems with the documentation, understanding what's the correct way of reading out an entire input stream into string/byte array etc. If nsIInputStream::available() denotes the *currently* available number of bytes, then why do some samples only use available() once to read out the entire data?
<http://developer.mozilla.org/en/docs/Code_snippets:File_I/O#Binary_File> thanks, regards, Daniel _______________________________________________ dev-tech-network mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-network
