W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2014

[Bug 23369] Provide hooks for Typed Arrays (ArrayBuffer and friends)

From: <bugzilla@jessica.w3.org>
Date: Mon, 09 Jun 2014 06:18:29 +0000
To: public-script-coord@w3.org
Message-ID: <bug-23369-3890-LgZyFapCjH@http.www.w3.org/Bugs/Public/>

Domenic Denicola <domenic@domenicdenicola.com> changed:

           What    |Removed                     |Added
                 CC|                            |domenic@domenicdenicola.com

--- Comment #14 from Domenic Denicola <domenic@domenicdenicola.com> ---
I think the best return type is ArrayBuffer in general, when representing
"binary data".

If there's a specific reason for 8-bit sequences in a particular case,
Uint8Array could be OK. For example if some API was explicitly doing
floating-point math it could return a Float32Array instead of an ArrayBuffer.

You are receiving this mail because:
You are on the CC list for the bug.
Received on Monday, 9 June 2014 06:18:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:21 UTC