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/>

--- 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

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.4.0 : Friday, 17 January 2020 17:14:18 UTC