W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2013

[Bug 23369] Provide hooks for Typed Arrays

From: <bugzilla@jessica.w3.org>
Date: Thu, 26 Sep 2013 17:52:15 +0000
To: public-script-coord@w3.org
Message-ID: <bug-23369-3890-RwleaaAN7N@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23369

--- Comment #4 from Anne <annevk@annevk.nl> ---
So I think we should go with APIs accepting /TypedArray/ Objects, ArrayBuffer
Objects, and DataView Objects, in terms of ES6. If we introduce these as IDL
types as suggested in comment 1, I suppose we could produce a typedef as
follows:

typedef (Int8Array or Uint8Array or Uint8ClampedArray or Int16Array or
Uint16Array or Int32Array or Uint32Array or Float32Array or Float64Array or
ArrayBuffer or DataView) ByteSequence;

It's still not entirely clear to me what the best return value is.
XMLHttpRequest uses ArrayBuffer. TextEncoder uses Uint8Array.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Thursday, 26 September 2013 17:52:21 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:50 UTC