[whatwg] BinaryEncoding for Typed Arrays using window.btoa and window.atob
Simon Pieters
simonp at opera.com
Mon Aug 5 14:04:08 PDT 2013
On Mon, 05 Aug 2013 22:39:22 +0200, Chang Shu <cshu01 at 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
More information about the whatwg
mailing list