I am sending requests using a protobuf message which has a field with type bytes - specifically image bytes. I convert the image to bytes using a Python script and get the following output:
\xff\xd8\xff\xe0\x00\x10JFIF[...]
This, I then input to the bytes field in Protoman:
I would expect that exactly the same \xff\xd8\xff\xe0\x00\x10JFIF is transferred to the server, but what I get at the server side is:
\xc5\xf7\xf1w\xcc_\x7f\x17\xb4\xc7M1\xd7BE
I assume this has to do with the representation the data is in, I am inputting a byte string. What does the byte type actually expect?
I am sending requests using a protobuf message which has a field with type
bytes- specifically image bytes. I convert the image to bytes using a Python script and get the following output:\xff\xd8\xff\xe0\x00\x10JFIF[...]This, I then input to the bytes field in Protoman:
I would expect that exactly the same
\xff\xd8\xff\xe0\x00\x10JFIFis transferred to the server, but what I get at the server side is:\xc5\xf7\xf1w\xcc_\x7f\x17\xb4\xc7M1\xd7BEI assume this has to do with the representation the data is in, I am inputting a byte string. What does the
bytetype actually expect?