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

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 11 Apr 2012 21:16:39 -0400
Message-ID: <4F862CF7.6000806@mit.edu>
To: Kenneth Russell <kbr@google.com>
CC: public-webapps <public-webapps@w3.org>
On 4/11/12 5:54 PM, Kenneth Russell wrote:
>> I haven't looked at WebSocket in enough detail to comment intelligently on
>> it.
>
> I haven't really either, but if there were some peer-to-peer support,
> then the receiving peer should still get an ArrayBuffer even if the
> sender sent an ArrayBufferView.

That would make sense to me, yes.  The receiver is just getting a byte 
array with no structure imposed on it, no matter where those bytes came 
from.

-Boris
Received on Thursday, 12 April 2012 01:17:09 GMT

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