W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

Re: Should send() be able to take an ArrayBufferView?

From: Charles Pritchard <chuck@jumis.com>
Date: Wed, 11 Apr 2012 11:53:51 -0700
Message-Id: <5F4FAE2A-7F9C-4C0F-B40E-8AD4CD16C383@jumis.com>
Cc: public-webapps <public-webapps@w3.org>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Yes; .buffer has stable semantics across many apis.

It does feel awkward when first using it, but the design makes sense after some experience.

On Apr 11, 2012, at 10:04 AM, Boris Zbarsky <bzbarsky@MIT.EDU> wrote:

> Seems like right now passing a typed array to send() requires a bit of extra hoop-jumping to pass the .buffer instead, right?  Is that desirable?
> -Boris
Received on Wednesday, 11 April 2012 18:54:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:33 UTC