Need a champion? StringView strawman

Dwayne rodneyd.teal at gmail.com
Fri Jan 10 19:46:30 PST 2014


Compensate the lack of rawData property --> Bug 952927

Buffer is a Uint8Array which has non standard methods on its prototype
using a WeakMap technique. -->
This module will be used with BitTorrent PWP as well so its definitely
necessary.
https://github.com/DecipherCode/Firebit/blob/master/lib/dgram.js#L78

And here is a snippet covering the other reason(s):
http://pastebin.mozilla.org/3986282

Thanks.



On Fri, Jan 10, 2014 at 7:31 PM, Brendan Eich <brendan at mozilla.com> wrote:

> Dwayne wrote:
>
>> Primarily because of this bug -> Expose raw data on UDP socket messages:
>> https://bugzilla.mozilla.org/show_bug.cgi?id=952927
>>
>
> Answering for bz: why do you need string-views or string-anythings to
> wrangle bytes in and out of a Uint8Array? Can you show some code?
>
> /be
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140110/588c812c/attachment.html>


More information about the es-discuss mailing list