title: How to hexlify protobuf's binary string in C++?
body: <p>For example, my protobuf message is</p>
  
  <pre><code>message Person {
    required string name=1;
  }
  </code></pre>
  
  <p>If I use python:</p>
  
  <pre><code>import personinfo_pb2
  person = personinfo_pb2.Person()
  person.name="Houl"
  
  packed_data = person.SerializeToString()
  </code></pre>
  
  <p>And I can print the hexlify data by:</p>
  
  <pre><code>print binascii.hexlify(packed_data)
  </code></pre>
  
  <p>I was wondering how to hexlify the  <code>SerializeToString</code> data in C++?</p>