returning bytes as a utf8-encoded string#103
returning bytes as a utf8-encoded string#103DianaSuvorova wants to merge 1 commit intogoogle:masterfrom
Conversation
|
Bytes are just small integer numbers, why would you assume that an array of them is a String? In UTF-8 even, why not ASCII? |
|
@sheepdreamofandroids you are correct, bytes are just small numbers. In case when you communicate over Json, there is no such type as |
|
I see, you simply want a more compact encoding of the bytes. |
Currently bytes are returned as an array of bytes, which gets transferred as an array of numbers in Json.

This pr changes so the input and the output for Bytes is expected to be utf-8 encoded string