I searched and I did not find an obvious way to do this.  I have
binary data in my protobufs and I want to print them out as hex if
possible (using ShortDebugString() or equivalent) .

data: "\377\201\255\r\026\000\000\200>\360"

is not very useful to me...  any quick way to print fields as hex?

'data' is defined as:
bytes data = 1;

Thanks a lot!


You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to