Need something similar to what <https://github.com...
# squarelibraries
b
Need something similar to what https://github.com/mattprecious/protogram does. This is doable with Wire APIs
f
Thanks for your answer what is the encoding used?
response.peekBody(Long.MAX_VALUE).string()
is not looking like it’s UTF8
I’m just trying to print the body
b
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
Ah ok thanks for the clarification!