[EMAIL PROTECTED] wrote:
  this.stringStream.setData(str, len);

This only works if |str| contains ASCII data. Any bytes that are not ASCII (7-bit-clean) are not guaranteed to survive. You want to use a binary output stream, probably (and not pass around binary data as strings in JS; pass it as octet arrays instead).

-Boris
_______________________________________________
Mozilla-netlib mailing list
Mozilla-netlib@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-netlib

Reply via email to