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

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

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 12 Apr 2012 18:34:47 +0000 (UTC)
To: Glenn Maynard <glenn@zewt.org>
cc: Boris Zbarsky <bzbarsky@mit.edu>, Charles Pritchard <chuck@jumis.com>, Kenneth Russell <kbr@google.com>, public-webapps <public-webapps@w3.org>
Message-ID: <Pine.LNX.4.64.1204121834070.22654@ps20323.dreamhostps.com>
On Wed, 11 Apr 2012, Glenn Maynard wrote:
> 
> That's not really what happens, though.  WebSocket gives you an ArrayBuffer
> if the source is an ArrayBuffer, and a Blob if the source was a Blob

No, at the protocol level they are indistinguishable, and at the API 
level the receiver decides which to use.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 12 April 2012 18:35:12 GMT

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