[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] Typed Arrays & Strings

On Wed, Jun 30, 2010 at 15:46, Vladimir Vukicevic <vladimir@mozilla.com> wrote:
Is this really the same use case?  Cedric, I think you want something closer to https://bugzilla.mozilla.org/show_bug.cgi?id=572522 -- but I think the original request actually wanted the ability to insert true strings, not binary data disguised as strings, right?

Hey Vlad,

From my understanding of Ryan's first message he'd also like to decode arbitrary string data into TypedArrays (binary data views), but I'll let him confirm ;-)

You're right that my use case would be satisfied by #572522, however having an "insert-string-as-binary-data facility" in TypedArrays directly is more flexible imho as it could work with any TypedArray implementation (regardless of XHR) and can be used the same way with any non-XHR source (WebSockets? File API?).