A Bytes type is just a DataView so the implementation should be pretty straightforward, just like File.decoder.
Do you think this approach is correct? Would you like me to open a PR with this change?
Use case: I have data in a Uint8Array in JS and I want to use it with an elm-protocol-buffers-like package but I can't send it over a port because there's no way to decode into Bytes.