W3C home > Mailing lists > Public > public-webapi@w3.org > June 2007

Re: ECMAScript octet representation (was: Re: Bindings spec ready for FPWD?)

From: Cameron McCormack <cam@mcc.id.au>
Date: Thu, 28 Jun 2007 21:25:26 +1000
To: public-webapi@w3.org
Message-ID: <20070628112526.GA14240@arc.mcc.id.au>

Anne van Kesteren:
> It would still be very good to have an octet / byte representation in  
> ECMAScript. I'm aware of a couple of implementations of such a thing, but  
> I haven't been able to play with them or figure out how they work exactly  
> myself:
>   1. XMLHttpRequest has a responseBody member in Internet Explorer 7 that
>      returns an array of unsigned integers representing octets.
>      Likewise, the send() method accepts such an array.
>   2. I heard Adobe Flex has some notion of a byte array to represent files.

Does sequence<octet> not cover that?  Would you prefer it to be
“looser”, in that [[Get]]s and [[Put]]s work like an array, but it is
not an ECMAScript Array object (so that it can have some more efficient
representation underneath)?

Cameron McCormack, http://mcc.id.au/
	xmpp:heycam@jabber.org  ▪  ICQ 26955922  ▪  MSN cam@mcc.id.au
Received on Thursday, 28 June 2007 11:25:37 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:23 UTC