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 <bren...@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 >
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss