The protocol is text-based but the payload can be binary. We would like
of the elm client. So we stick to json for now.
websocket connection.
Post by Martin BaileyWhat kind of interaction with binary data would you require for your
projects?
-Blob : black box to store and pass opaque data around (anything that
isn't a valid Unicode string)
-Byte array : equivalent to char/string for arbitrary bytes
-Bit stream : more flexible mechanism to implement binary protocols or
binary coding
Byte array would remove the need for blobs and would also allow building
a clean bitstream library in pure Elm. It needs to be designed properly
for binary data to be reliable and fun to work with, but that would
probably be the best abstraction. Haskell calls theirs Data.ByteString.
I would really like to have a way to do file uploads in Elm, I
needed that at a project a while back
Zach
ᐧ
Here are a couple relevant repos so far - they are mostly barren
at the moment, as we're trying to solve some hard API problems
before we put too much code down.
https://github.com/cmditch/elm-web3
<https://github.com/cmditch/elm-web3>
https://github.com/cmditch/elm-truffle-webpack
<https://github.com/cmditch/elm-truffle-webpack>
Coury,
I am very interested in an Elm version of web3.js. For
exactly the reason you mentioned. Where can I follow the
progress on this project?
Berry
Our use case: Pure elm library for cryptographic functions.
We are creating a pure Elm web3.js equivalent. We think
Ethereum developers and the blockchain developer
community at large would benefit from the strong
guarantees of using Elm.
Thanks
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
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
For more options, visit
https://groups.google.com/d/optout
<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
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
Zach Kessin
Teaching Web Developers to test code to find more bugs in less time
Skype: zachkessin
+972 54 234 3956 / +44 203 734 9790 / +1 617 778 7213
--
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
For more options, visit https://groups.google.com/d/optout.