Join Slack
Powered by
Need something similar to what <https://github.com...
# squarelibraries
b
Benoit Quenaudon
01/06/2022, 4:58 PM
Need something similar to what
https://github.com/mattprecious/protogram
does. This is doable with Wire APIs
f
Fanilog
01/07/2022, 1:10 PM
Thanks for your answer what is the encoding used?
response.peekBody(Long.MAX_VALUE).string()
is not looking like it’s UTF8
Fanilog
01/07/2022, 1:10 PM
I’m just trying to print the body
b
Benoit Quenaudon
01/07/2022, 1:20 PM
Protobuf are encoded as non-human readable binaries. If you look into protogram, it uses Wire to decode this binary and expand it to something somewhat readable.
f
Fanilog
01/07/2022, 1:34 PM
Ah ok thanks for the clarification!
5
Views
Open in Slack
Previous
Next