On Thu, Aug 27, 2009 at 8:59 AM, C H Forsyth <fors...@vitanuova.com> wrote:
has javascript finally got support for binary data?

I haven't been following.  I find a lot of "web stuff" to be off-putting, so
I've not been keeping up.  base64 encoding stuff is crap but could suffice
in a pinch.

Did Javascript not support binary data in the past?  It seems
to support it fine in my browser at least.  Here's a transcript
from a javascript shell session in my browser (note, top line is
most recent, bottom line is oldest):

http://www.thenewsh.com/shell.html

  Eval: for(var i = 0; i < x.length; i++) _print(x.charCodeAt(i) + "\n");
  Return: undefined
  255
  254
  3
  2
  1
  0
  Eval: x = "\x00\x01\x02\x03\xfe\xff"
  Return:

Dave

Tim Newsham
http://www.thenewsh.com/~newsham/

Reply via email to