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:[EMAIL PROTECTED] ▪ ICQ 26955922 ▪ MSN [EMAIL PROTECTED]
