I took a shot at starting a basic version of this in my fork of websocket and a new package simply called binary. My approach was largely thin wrappers on top of the spec.
Evan, is your draft public? No updates from you since January. IMHO, don't try to carry this one yourself. This is an opportunity to spread the load and develop yourself as a manager of contributors while building out the process for accepting large contributions. On Jun 21, 2016 6:09 AM, "Gábor Varga" <[email protected]> wrote: > This feature would come handy for me too. > Our use-case is that we get some encrypted data from an MQTT broker and it > might be broken up to several messages. > The binary data first has to be reassembled before it can be converted to > UTF8 encoded strings. > > > > > On Thursday, April 7, 2016 at 1:18:17 AM UTC+2, Ian Mackenzie wrote: >> >> I'd love to have ArrayBuffers supported for doing WebGL stuff. For >> rendering very large and complex scenes, I think it would be useful to be >> able to do a lot of the heavy lifting (level of detail and occlusion >> calculations etc.) on the server, and then just send compact ArrayBuffers >> to the client that could be passed directly to >> WebGLRenderingContext.bufferData() or similar (via an Elm wrapper, >> presumably, but without any parsing/conversion/copying). >> >> On Tuesday, 12 January 2016 11:32:43 UTC+11, Evan wrote: >>> >>> I have been drafting Blob and ArrayBuffer APIs, but I wasn't sure who >>> needed them. >>> >>> What is your particular use case? >>> >>> On Mon, Jan 11, 2016 at 4:55 AM, John Watson <[email protected]> wrote: >>> >>>> Can anyone tell me what the plans are for supporting binary data in >>>> elm? I'm thinking of a Byte (and some sort of Byte Array) type and also >>>> implementing Blob in HTTP responses. >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Elm Discuss" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- > You received this message because you are subscribed to the Google Groups > "Elm Discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
