Harobed wrote:
How to use readBytes ?

Re-reading the interface, I actually think this is the correct syntax: var o = st.readBytes(2000);

But better would be:
var o = st.readByteArray(2000);
because that allows you to read non-ascii characters as well. Note that the result will not be a string, then.
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to