W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2010

Re: using BlobBuilder append method with generated binary data

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sun, 12 Dec 2010 11:15:24 -0500
Message-ID: <4D04F51C.90306@mit.edu>
To: Toni Ruottu <toni.ruottu@iki.fi>
CC: Paul Kinlan <paulkinlan@google.com>, Eric Uhrhane <ericu@google.com>, "public-webapps@w3.org" <public-webapps@w3.org>
On 12/12/10 11:09 AM, Toni Ruottu wrote:
> Can I rest assured that...
> ui8a[i] = output.charCodeAt(i);
> ...is alway equal to...
> ui8a[i] = (datastr.charCodeAt(i)&  0xff);

In general, no.

In the case of http://appmator.appspot.com/ yes, due to the way |output| 
is generated.

-Boris
Received on Sunday, 12 December 2010 16:16:04 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:42 GMT