elm / bytes

Work with bytes and implement network protocols

Home Page:https://package.elm-lang.org/packages/elm/bytes/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Display undecoded byte values in elm app debugger

coballast opened this issue · comments

Not sure if this is the appropriate place for it, but if you store a Bytes value on your elm model without decoding it, in the debugger (when you compile it with --debug) it displays with a pair of empty curly braces. I had to check the length explicitly to verify the data was there.

This is very confusing! Maybe we can display it like a list of integers or like a hex dump or something?

I would gladly take a swing at this if someone can point me where to look in the code.

�:�(Y�o����EN '���3������� ڲ�'gĽ ��C��$��Q�������$w)96ɞ��<W#; ���ʢD0�.-?���F�O�#ލ^�U�.i0c�)��5�Ts=�T.����8��)z{����5���� j�Ϙ����aTʋ)����&�%����9N�T�b�9����@76����5�a!v��m�=�(�� �������U����b?�����#v4���`�y���d��4��