W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2013

Re: [whatwg] BinaryEncoding for Typed Arrays using window.btoa and window.atob

From: Simon Pieters <simonp@opera.com>
Date: Mon, 05 Aug 2013 23:04:08 +0200
To: whatwg@lists.whatwg.org, "Chang Shu" <cshu01@gmail.com>
Message-ID: <op.w1c3g6opidj3kv@simons-macbook-pro.local>
On Mon, 05 Aug 2013 22:39:22 +0200, Chang Shu <cshu01@gmail.com> wrote:

> I see your point now, Simon. Technically both approaches should work.
> As you said, yours has the limitation that the implementation does not
> know which view to return unless you provide an enum type of parameter
> instead of boolean to atob. And mine has the performance issue. How
> about we don't return the 'binary' string in case the 2nd parameter is
> provided in my case?

That works for me.

Simon Pieters
Opera Software
Received on Monday, 5 August 2013 20:59:38 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:23 UTC